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
givenPointGeoPoint3The point.
extendboolWhether 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.