Indexes   

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:
Length, Reference, HybridShapeDirection, HybridShapeFactory

Property Index

FirstDirection
Returns or sets the first direction on the plane to compute the point (for stability).
Plane
Returns or sets the support plane.
Point
Returns or sets the reference point.
ProjectionSurface
Returns or sets the projection surface to compute the point.
XOffset
Returns the X cartesian coordinate in the plane.
YOffset
Returns the Y cartesian coordinate in the plane.

Method Index

GetSecondDirection
Gets the second direction on the plane to compute the point (for stability).
SetSecondDirection
Sets the second direction on the plane to compute the point (for stability).

Properties


o 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
 
o Property Plane() As
Returns or sets the support plane.
Sub-element(s) supported (see
Boundary object): PlanarFace.
Example
:
This example retrieves in oPlane the supporting Plane for PointOnPlane feature.
 Dim oPlane As CATIAReference
 Set oPlane  = PointOnPlane.Plane
 
o 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
Boundary object): Vertex.
Example
:
This example retrieves in oPoint the reference point for PointOnPlane feature.
 Dim oPoint As CATIAReference
 Set oPoint  = PointOnPlane.Point
 
o 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
 
o 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
 
o 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


o 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:
HybridShapeDirection
o 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:
HybridShapeDirection

Copyright © 2006, Dassault Systèmes. All rights reserved.