You are here: Start » AVL.NET » 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, AvlNet.Segment3D outConnectingSegment3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inLine1 | AvlNet.Line3D | ||||
inLine2 | AvlNet.Line3D | ||||
inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | |
outDistance | float | ||||
outConnectingSegment3D | AvlNet.Segment3D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in LineToLineDistance3D. |