Table of Contents

Method ToXLine

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToXLine()

Gets the infinite line this segment lies on: the line through its start point along the way it runs.

public GeoXLine2 ToXLine()

Returns

GeoXLine2

Remarks

The segment from (0, 0) to (100, 0) gives the line through the origin along X; the segment from (100, 0) back to (0, 0) gives the same line running the other way.

Exceptions

ArgumentException

Thrown when the segment is too short to have a direction.