Table of Contents

Method ProjectOntoPlane

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ProjectOntoPlane(GeoVector3, GeoVector3)

Projects a vector onto a plane through the origin, dropping its component along the normal.

public static GeoVector3 ProjectOntoPlane(GeoVector3 vector, GeoVector3 planeNormal)

Parameters

vector GeoVector3

The vector to project.

planeNormal GeoVector3

The plane normal; it need not be normalized.

Returns

GeoVector3

The component of the vector lying in the plane, or the vector itself for a degenerate normal.

ProjectOntoPlane(GeoVector3, GeoVector3, Tolerance)

Projects a vector onto a plane through the origin, within a tolerance.

public static GeoVector3 ProjectOntoPlane(GeoVector3 vector, GeoVector3 planeNormal, Tolerance tolerance)

Parameters

vector GeoVector3
planeNormal GeoVector3
tolerance Tolerance

Returns

GeoVector3