Table of Contents

Method GetClosestPointTo

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetClosestPointTo(GeoPoint3, bool)

Gets the point of the ellipse nearest a point, as AutoCAD's GetClosestPointTo: on the whole ellipse where it is whole or extended, else on its part, an end where that is nearer.

public override GeoPoint3 GetClosestPointTo(GeoPoint3 givenPoint, bool extend)

Parameters

givenPoint GeoPoint3

The point.

extend bool

Whether a part is taken as the whole ellipse.

Returns

GeoPoint3

The nearest point, in world coordinates.