Line3d.ClosestParams Method

Calculates the closest line between two lines parametrically. If the lines are parallel then par1 is set to 0. Can also be used to check if the lines are parallel.
public bool ClosestParams( 
   Line3d l2
   out double par1
   out double par2 
)

Parameters

l2
Line3d

Second line.

par1
double

Parameter on this.

par2
double

Parameter on second line l2

Return Value

bool

False if lines are parallel true otherwise.

.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