Line2d.Param (Point2d) Method

Computes the parameter in the range 0-1 where the projection of a given point resides on the line segment. If the parameter is less than 0 or larger than 1 the point lies 'before' or 'after' the line.
public double Param( 
   Point2d pnt 
)

Parameters

pnt
Point2d

The point to compute for.

Return Value

double

A parameter on the infinite line.

.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