Table of Contents

Method ProjectToFace

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ProjectToFace(GeoFace3, GeoPoint3)

Gets the point of a face nearest another point.

public static GeoPoint3 ProjectToFace(GeoFace3 face, GeoPoint3 point)

Parameters

face GeoFace3
point GeoPoint3

Returns

GeoPoint3

ProjectToFace(GeoFace3, GeoPoint3, Tolerance)

Gets the point of a face nearest another point, within a tolerance.

public static GeoPoint3 ProjectToFace(GeoFace3 face, GeoPoint3 point, Tolerance tolerance)

Parameters

face GeoFace3

The face.

point GeoPoint3

The point; it does not have to lie on the plane of the face.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3

The foot of the perpendicular where that lands on the material, the rim of a hole where it lands in one, and the outline where it lands outside the face altogether.

Exceptions

ArgumentNullException

Thrown when the face is null.