Eyeshot 10 WinForms API Reference
IsOnAxis Method

WinForms Assembly > devDept.Geometry Namespace > Segment3D Class : IsOnAxis Method
The 3D direction vector
The 3D center point
Returns true if the segment lays on the axis defined by the 3D point center and the direction dir.
Syntax
'Declaration
 
Public Function IsOnAxis( _
   ByVal dir As Vector3D, _
   ByVal center As Point3D _
) As Boolean
public bool IsOnAxis( 
   Vector3D dir,
   Point3D center
)

Parameters

dir
The 3D direction vector
center
The 3D center point

Return Value

True if the segments is on the axis, false otherwise.
See Also

Reference

Segment3D Class
Segment3D Members