Constructor GeoRay3
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GeoRay3(GeoPoint3, GeoVector3)
Initializes a new ray.
public GeoRay3(GeoPoint3 origin, GeoVector3 direction)
Parameters
originGeoPoint3The origin point.
directionGeoVector3The direction vector; it is normalized on construction.
Exceptions
- ArgumentException
Thrown when the direction has zero length.
GeoRay3(GeoPoint3, GeoPoint3)
Initializes a new ray running from one point through another.
public GeoRay3(GeoPoint3 origin, GeoPoint3 through)
Parameters
Exceptions
- ArgumentException
Thrown when the two points coincide.