Table of Contents

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

givenPoint GeoPoint3

The point.

extend bool

Whether the ray is taken as the infinite line through it.

Returns

GeoPoint3

The nearest point.