Line2d.ClosestPointInfinite Method

Computes a new point which resides on this line as if it was infinite, which is as close as possible to a given point.
public Point2d ClosestPointInfinite( 
   Point2d pnt 
)

Parameters

pnt
Point2d

The point to be as close as possible to.

Return Value

Point2d

A new point on the line segment.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition