Table of Contents

Method GetClosestPointOnBoundary

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestPointOnBoundary(GeoPoint3)

Gets the point on the surface of this solid closest to a target point.

public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

GeoPoint3

Remarks

The answer is always on the surface, including for a point inside the body, where DistanceTo(GeoPoint3) reports nothing at all. The two deliberately disagree there, the same way they do in the plane.

GetClosestPointOnBoundary(GeoPoint3, Tolerance)

Gets the point on the surface of this solid closest to a target point, within a tolerance.

public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point, Tolerance tolerance)

Parameters

point GeoPoint3
tolerance Tolerance

Returns

GeoPoint3