Intersect2d.LineLineParametric Method

Computes the parameters of intersection between two infinite lines. Parameters are in range 0-1 if the intersection is in the segment span.
Public Shared Function LineLineParametric( _ 
ByVal l1 As Line2d, _ 
ByVal l2 As Line2d, _ 
ByRef param1 As Double, _ 
ByRef param2 As Double, _ 
Optional ByVal parallelTolerance As Double = LinearParalellDenom _ 
) As Boolean
This language is not supported or no code example is available.
public static bool LineLineParametric( 
Line2d l1
Line2d l2
out double param1
out double param2
double parallelTolerance = LinearParalellDenom 
)
This language is not supported or no code example is available.
public:  
static bool LineLineParametric( 
Line2d^ l1
Line2d^ l2
double& param1
double& param2
double parallelTolerance 
)
This language is not supported or no code example is available.
public static function LineLineParametric( 
l1 : Line2d
l2 : Line2d
param1 : double
param2 : double
parallelTolerance : double 
) : boolean;
This language is not supported or no code example is available.

Parameters

l1
Line2d

The first line to intersect.

l2
Line2d

The second line to intersect.

param1
double

Parameter on first line where it intersects the second.

param2
double

Parameter on second line where it intersects the first.

parallelTolerance
double

Return Value

bool

true if the lines intersect, otherwise false (which means thay are parallel in this case)

.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