Method GetClosestPointTo
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetClosestPointTo(GeoPoint3, bool)
Gets the point of the ray nearest a point, as AutoCAD's GetClosestPointTo: on the ray, or on the infinite
line through it where it is extended.
public override GeoPoint3 GetClosestPointTo(GeoPoint3 givenPoint, bool extend)
Parameters
givenPointGeoPoint3The point.
extendboolWhether the ray is taken as the infinite line through it.
Returns
- GeoPoint3
The nearest point.