GSMInterfaces Line (Object)
All Frameworks Object Hierarchy This Framework Previous Next Indexes
Line (Object)
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---AnyObject
|
+---HybridShape
|
+---Line
Represents the hybrid shape Line feature object.
Role : Declare hybrid shape Line root feature object.
All interfaces for different type of Line derivates HybridShapeLine.
Use the CATIAHybridShapeFactory to create a HybridShapeLine objects.
See also:
HybridShapeFactory
Property Index
FirstUptoElem
Role : Gets the First upto element of the line.
SecondUptoElem
Role : Gets the Second upto element of the line.
Method Index
GetDirection
Role : Returns the unit-vector pointing in the direction of the line.
GetOrigin
Role : Returns the origin of the line.
PutDirection
Role : Sets the unit-vector pointing in the direction of the line.
Properties
Role : Gets the First upto element of the line.
Parameters:
oFirstUpto
Returns:
HRESULT S_OK if Ok
E_FAIL else
Role : Gets the Second upto element of the line.
Parameters:
oSecondUpto
Returns:
HRESULT S_OK if Ok
E_FAIL else
Methods
Role : Returns the unit-vector pointing in the direction of the line.
Parameters:
oDirection
oDirection[0]
The X Coordinate of the unit vector pointing in the
direction of the line
oDirection[1]
The Y Coordinate of the unit vector pointing in the
direction of the line
oDirection[2]
The Z Coordinate of the unit vector pointing in the
direction of the line
Returns:
HRESULT S_OK if Ok
E_FAIL else
return error code for C++ Implementations
See also:
HybridShapeFactory
Role : Returns the origin of the line.
Parameters:
oOrigin
oOrigin[0]
The X Coordinate of a point lying on the line
oOrigin[1]
The Y Coordinate of a point lying on the line
oOrigin[2]
The Z Coordinate of a point lying on the line
The Origin is evaluated from the geometry of the line.
Returns:
HRESULT S_OK if Ok
E_FAIL else
return error code for C++ Implementations
See also:
HybridShapeFactory
Role : Sets the unit-vector pointing in the direction of the line.
Parameters:
iDirection
iDirection[0]
The X Coordinate of the unit vector pointing in the
direction of the line
iDirection[1]
The Y Coordinate of the unit vector pointing in the
direction of the line
iDirection[2]
The Z Coordinate of the unit vector pointing in the
direction of the line
Returns:
HRESULT S_OK if Ok
E_FAIL else
return error code for C++ Implementations
See also:
HybridShapeFactory
Copyright © 2003, Dassault Systèmes. All rights reserved.