Table of Contents

Method GetClosestPointTo

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetClosestPointTo(GeoPoint3, bool)

Gets the point of the curve nearest a point, as AutoCAD's GetClosestPointTo.

public virtual GeoPoint3 GetClosestPointTo(GeoPoint3 givenPoint, bool extend)

Parameters

givenPoint GeoPoint3

The point.

extend bool

Whether the curve is taken as extended past its ends where its class can extend it: a line to the infinite line, an arc to its circle.

Returns

GeoPoint3

The nearest point.