Constructor GeoXLine3
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GeoXLine3(GeoPoint3, GeoVector3)
Initializes a new infinite line.
public GeoXLine3(GeoPoint3 origin, GeoVector3 direction)
Parameters
originGeoPoint3A point on the line.
directionGeoVector3The 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
originGeoPoint3A point on the line.
throughGeoPoint3Another 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.