Segment3D.IsOnAxis Method

Returns true if the segment lays on the axis defined by the 3D point center and the direction dir.
Public Function IsOnAxis( _ 
ByVal dir As Vector3D, _ 
ByVal center As Point3D
) As Boolean
This language is not supported or no code example is available.
public bool IsOnAxis( 
Vector3D dir
Point3D center 
)
This language is not supported or no code example is available.

Parameters

dir
Vector3D

The 3D direction vector

center
Point3D

The 3D center point

Return Value

bool

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

.NET Framework

Supported in: 4.8

In this article

Definition