Table of Contents

Constructor GeoXLine3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoXLine3(GeoPoint3, GeoVector3)

Initializes a new infinite line.

public GeoXLine3(GeoPoint3 origin, GeoVector3 direction)

Parameters

origin GeoPoint3

A point on the line.

direction GeoVector3

The direction vector; it is normalized on construction.

Exceptions

ArgumentException

Thrown when the direction has zero length.

GeoXLine3(GeoPoint3, GeoPoint3)

Initializes a new infinite line through two points.

public GeoXLine3(GeoPoint3 origin, GeoPoint3 through)

Parameters

origin GeoPoint3

A point on the line.

through GeoPoint3

Another point on the line; the direction runs from the first to this one.

Exceptions

ArgumentException

Thrown when the two points coincide, or either is not a finite point.