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
Returns
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
faceGeoFace3The face.
pointGeoPoint3The point; it does not have to lie on the plane of the face.
toleranceToleranceThe 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.