Table of Contents

Method GetClosestPointTo

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetClosestPointTo(GeoPoint3, bool)

Gets the point of the circle nearest a point, as AutoCAD's GetClosestPointTo: that of the point seen along the normal; the start for the centre itself or a point on the axis through it.

public override GeoPoint3 GetClosestPointTo(GeoPoint3 givenPoint, bool extend)

Parameters

givenPoint GeoPoint3

The point.

extend bool

Of no account: a circle has no ends to extend.

Returns

GeoPoint3

The nearest point, in world coordinates.