HybridShapePointOnPlane (Object)

Point on a plane.
Role: Allows to access data of the point feature created on a plane with a reference point or not.
See also:
, , ,

Properties


Property FirstDirection() As
Returns or sets the first direction on the plane to compute the point (for stability).
Example
:
This example retrieves in oDirection the direction of the PointOnPlane feature.
 Dim oDirection As CATIAHybridShapeDirection
 Set oDirection = PointOnPlane.FirstDirection
 
Property Plane() As
Returns or sets the support plane.
Sub-element(s) supported (see object): .
Example
:
This example retrieves in oPlane the supporting Plane for PointOnPlane feature.
 Dim oPlane As CATIAReference
 Set oPlane  = PointOnPlane.Plane
 
Property Point() As
Returns or sets the reference point.
This data is not mandatory, if Point is
null, the projection of the origin point on the plane is taken.
Sub-element(s) supported (see object): .
Example
:
This example retrieves in oPoint the reference point for PointOnPlane feature.
 Dim oPoint As CATIAReference
 Set oPoint  = PointOnPlane.Point
 
Property ProjectionSurface() As
Returns or sets the projection surface to compute the point.
Example
:
This example retrieves in oProjSur the projection surface of the PointOnPlane feature.
 Dim oProjSur As CATIAReference
 Set oProjSur = PointOnPlane.ProjectionSurface
 
Property XOffset() As (Read Only)
Returns the X cartesian coordinate in the plane.
Example
:
This example retrieves in oX the X coordinate for PointOnPlane feature.
 Dim oX As  CATIALength
 Set oX  = PointOnPlane.XOffset
 
Property YOffset() As (Read Only)
Returns the Y cartesian coordinate in the plane.
Example
:
This example retrieves in oY the Y coordinate for PointOnPlane feature.
 Dim oY As  CATIALength
 Set oY  = PointOnPlane.YOffset
 

Methods


Sub GetSecondDirection( oDirX, oDirY, oDirZ)
Gets the second direction on the plane to compute the point (for stability).
This direction has to be kept perpendicular to the first direction
Parameters:
oDir
second direction
See also:
Sub SetSecondDirection( iDirX, iDirY, iDirZ)
Sets the second direction on the plane to compute the point (for stability).
This direction has to be kept perpendicular to the first direction
Parameters:
iDir
second direction
See also: