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:
Properties
- Property FirstUptoElem() As
-
Role: Gets the First upto element of the line.
- Parameters:
-
- oFirstUpto
- dd>
- Returns:
- HRESULT S_OK if Ok E_FAIL else dd>
- Property SecondUptoElem() As
-
Role: Gets the Second upto element of the line.
- Parameters:
-
- oSecondUpto
- dd>
- Returns:
- HRESULT S_OK if Ok E_FAIL else dd>
Methods
- Sub GetDirection( oDirection)
-
Role: Returns the unit-vector pointing in the direction of the line.
- Parameters:
-
- oDirection
- dd>
- oDirection[0]
- The X Coordinate of the unit vector pointing in the direction of the line dd>
- oDirection[1]
- The Y Coordinate of the unit vector pointing in the direction of the line dd>
- oDirection[2]
- The Z Coordinate of the unit vector pointing in the direction of the line dd>
- Returns:
- HRESULT S_OK if Ok E_FAIL else return error code for C++ Implementations dd>
- See also:
- Sub GetOrigin( oOrigin)
-
Role: Returns the origin of the line.
- Parameters:
-
- oOrigin
- dd>
- oOrigin[0]
- The X Coordinate of a point lying on the line dd>
- oOrigin[1]
- The Y Coordinate of a point lying on the line dd>
- oOrigin[2]
- The Z Coordinate of a point lying on the line The Origin is evaluated from the geometry of the line. dd>
- Returns:
- HRESULT S_OK if Ok E_FAIL else return error code for C++ Implementations dd>
- See also:
- Sub PutDirection( iDirection)
-
Role: Sets the unit-vector pointing in the direction of the line.
- Parameters:
-
- iDirection
- dd>
- iDirection[0]
- The X Coordinate of the unit vector pointing in the direction of the line dd>
- iDirection[1]
- The Y Coordinate of the unit vector pointing in the direction of the line dd>
- iDirection[2]
- The Z Coordinate of the unit vector pointing in the direction of the line dd>
- Returns:
- HRESULT S_OK if Ok E_FAIL else return error code for C++ Implementations dd>
- See also: