Table of Contents

Method ToRay

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToRay()

Gets the ray that starts at the origin of this line and runs along its direction: the half of the line ahead of the origin.

public GeoRay3 ToRay()

Returns

GeoRay3

Remarks

The half behind the origin is Reverse().ToRay().

Exceptions

ArgumentException

Thrown when the line has no direction, as a default one has.