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 Function Param( _ 
ByVal pnt As Point2d
) As Double
This language is not supported or no code example is available.
public double Param( 
Point2d pnt 
)
This language is not supported or no code example is available.
public:  
double Param( 
Point2d^ pnt 
)
This language is not supported or no code example is available.
public function Param( 
pnt : Point2d 
) : double;
This language is not supported or no code example is available.

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