Method GetClosestPointOnBoundary
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetClosestPointOnBoundary(GeoPoint2)
Gets the point of the boundary of this face nearest a target point.
public GeoPoint2 GetClosestPointOnBoundary(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
Remarks
The boundary of a face is its outline and the rim of every hole, so a point sitting in a hole is answered with a point of that rim. The answer is always on the boundary, even for a point on the material, where DistanceTo(GeoPoint2) reports nothing at all.
GetClosestPointOnBoundary(GeoPoint2, Tolerance)
Gets the point of the boundary of this face nearest a target point, within a tolerance.
public GeoPoint2 GetClosestPointOnBoundary(GeoPoint2 point, Tolerance tolerance)