Method GetClosestPointOnBoundary
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetClosestPointOnBoundary(GeoPoint3)
Gets the point of the edge nearest another point.
public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point)
Parameters
pointGeoPoint3
Returns
GetClosestPointOnBoundary(GeoPoint3, Tolerance)
Gets the point of the edge nearest another point, within a tolerance.
public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point, Tolerance tolerance)
Parameters
Returns
Remarks
A point whose foot in the plane of a bend falls within the tolerance of the centre of its arc is read as at the centre, which has no direction, and is carried to the bend's start; the distance to the point is the exact one, so the line can be longer than it, by at most twice the foot's offset from the centre. At a tolerance of a thousandth, the point (0, -0.0009, 0) and the edge from (-50, 0, 0) to (50, 0, 0) bulging by 1 about Z, through (0, -50, 0): the closest point is (-50, 0, 0), 50.00000001 away, where the distance is 49.9991.