Table of Contents

Method ToXLine

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToXLine()

Gets the infinite line this ray lies on: the same origin and direction, with the half behind the origin added.

public GeoXLine2 ToXLine()

Returns

GeoXLine2

The line through the origin along the direction of the ray; ToRay() gives the ray back.

Exceptions

ArgumentException

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