Table of Contents

Method GetClosestPointTo

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetClosestPointTo(GeoPoint3, bool)

Gets the point of the xline nearest a point, as AutoCAD's GetClosestPointTo: the foot of the point on it.

public override GeoPoint3 GetClosestPointTo(GeoPoint3 givenPoint, bool extend)

Parameters

givenPoint GeoPoint3

The point.

extend bool

Of no account: an xline has no ends to extend.

Returns

GeoPoint3

The nearest point.