Table of Contents

Method GetClosestPointTo

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetClosestPointTo(GeoPoint3, bool)

Gets the point of the arc nearest a point, as AutoCAD's GetClosestPointTo: that of the point seen along the normal where it falls within the arc's angles, else the nearer end; on the whole circle where the arc is extended.

public override GeoPoint3 GetClosestPointTo(GeoPoint3 givenPoint, bool extend)

Parameters

givenPoint GeoPoint3

The point.

extend bool

Whether the arc is taken as its whole circle.

Returns

GeoPoint3

The nearest point, in world coordinates.