You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Distance Metrics » AVL.LineToLineDistance3D

AVL.LineToLineDistance3D

Measures the distance between two lines in 3D.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void LineToLineDistance3D
(
	AvlNet.Line3D inLine1,
	AvlNet.Line3D inLine2,
	float inResolution,
	out float outDistance
)

Parameters

Name Type Range Default Description
inLine1AvlNet.Line3D
inLine2AvlNet.Line3D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in LineToLineDistance3D.

Function Overrides

See also