Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Segment3D Class / IsOnAxis Method
The 3D direction vector
The 3D center point

In This Topic
    IsOnAxis Method
    In This Topic
    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