Role: Declare hybrid shape Plane root feature object. All interfaces for different type of Plane derivates HybridShapePlane.
Use the CATIAHybridShapeFactory to create a HybridShapePlane objects.
- See also:
Methods
- Sub GetFirstAxis( oFirstAxis)
-
Returns the coordinates of the first plane axis.
- Parameters:
-
- oFirstAxis[0]
- The X Coordinate of the first plane axis dd>
- oFirstAxis[1]
- The Y Coordinate of the first plane axis dd>
- oFirstAxis[2]
- The Z Coordinate of the first plane axis dd>
- See also:
- Sub GetOrigin( oOrigin)
-
Returns the origin of the plane.
- Parameters:
-
- oOrigin[0]
- The X Coordinate of the plane origin dd>
- oOrigin[1]
- The Y Coordinate of the plane origin dd>
- oOrigin[2]
- The Z Coordinate of the plane origin dd>
- See also:
- Sub GetPosition( oX, oY, oZ)
-
Gets the position where the plane is displayed.
- Parameters:
-
- oX
- X coordinates dd>
- oY
- Y coordinates dd>
- oZ
- Z coordinates dd>
- Returns:
- S_OK if the position has been set before, E_FAIL else. dd>
- Sub GetSecondAxis( oSecondAxis)
-
Returns the coordinates of the second plane axis.
- Parameters:
-
- oSecondAxis[0]
- The X Coordinate of the second plane axis dd>
- oSecondAxis[1]
- The Y Coordinate of the second plane axis dd>
- oSecondAxis[2]
- The Z Coordinate of the second plane axis dd>
- See also:
- Func IsARefPlane() As
-
Queries whether the plane is a reference plane (fixed axis plane).
- Returns:
- 0 when the plane is a reference plane, 1 else. dd>
- Sub PutFirstAxis( iFirstAxis)
-
Sets the first axis. The first plane axis must be a point-direction line.
Note: This method can only be used on CATIAHybridShapePlane2Lines feature- Parameters:
-
- iFirstAxis[0]
- The X Coordinate of the first plane axis dd>
- iFirstAxis[1]
- The Y Coordinate of the first plane axis dd>
- iFirstAxis[2]
- The Z Coordinate of the first plane axis dd>
- See also:
- Sub PutOrigin( iOrigin)
-
Sets the origin of the plane.
Note: This method can only be used on CATIAHybridShapePlane2Lines feature- Parameters:
-
- iOrigin[0]
- The X Coordinate of the plane origin dd>
- iOrigin[1]
- The Y Coordinate of the plane origin dd>
- iOrigin[2]
- The Z Coordinate of the plane origin dd>
- See also:
- Sub PutSecondAxis( iSecondAxis)
-
Sets the coordinates of the second plane axis. The second plane axis must be a point-direction line
Note: This method can only be used on CATIAHybridShapePlane2Lines feature- Parameters:
-
- iSecondAxis[0]
- The X Coordinate of the second plane axis dd>
- iSecondAxis[1]
- The Y Coordinate of the second plane axis dd>
- iSecondAxis[2]
- The Z Coordinate of the second plane axis dd>
- See also:
- Sub RemovePosition()
-
Removes reference position of a plane.
Note: When removed, the plane is displayed at its default position. - Sub SetPosition( iX, iY, iZ)
-
Sets the position where the plane is displayed.
- Parameters:
-
- iX
- X coordinates dd>
- iY
- Y coordinates dd>
- iZ
- Z coordinates dd>