Line2d.Param (Point2d, out Double) 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.
A tangent angle at the point is computed as well (which in this case is same as lines angle)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
pnt
-
Point2d
The point to compute for.
-
tangent
-
double
The tangent angle at the projected point (which in this case is same as lines angle).
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