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 Function ClosestParams( _ 
ByVal l2 As Line3d, _ 
ByRef par1 As Double, _ 
ByRef par2 As Double
) As Boolean
This language is not supported or no code example is available.
public bool ClosestParams( 
Line3d l2
out double par1
out double par2 
)
This language is not supported or no code example is available.
public:  
bool ClosestParams( 
Line3d^ l2
double& par1
double& par2 
)
This language is not supported or no code example is available.
public function ClosestParams( 
l2 : Line3d
par1 : double
par2 : double 
) : boolean;
This language is not supported or no code example is available.

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