Table of Contents

Constructor GeoRay3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoRay3(GeoPoint3, GeoVector3)

Initializes a new ray.

public GeoRay3(GeoPoint3 origin, GeoVector3 direction)

Parameters

origin GeoPoint3

The origin point.

direction GeoVector3

The 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

origin GeoPoint3

The origin point.

through GeoPoint3

A point the ray passes through.

Exceptions

ArgumentException

Thrown when the two points coincide.