Table of Contents

Method GetClosestPointOnBoundary

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestPointOnBoundary(GeoPoint2)

Gets the point of this spline nearest a point.

public GeoPoint2 GetClosestPointOnBoundary(GeoPoint2 point)

Parameters

point GeoPoint2

The point; it does not have to lie on the spline.

Returns

GeoPoint2

The spline's point at GetKnotAtPoint(GeoPoint2). A spline is a curve with no inside, so a point within a closed one is not its own nearest point.