You are here: Start » AVL.NET » AVS.BoxToBoxDistance Method
AVS.BoxToBoxDistance Method
Computes minimal distance between one of the points of the first box with one of the points of the second box.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void BoxToBoxDistance ( AvlNet.Box inBox1, AvlNet.Box inBox2, float inResolution, out float outDistance, NullableValue<AvlNet.Segment2D> outConnectingSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inBox1 | AvlNet.Box | |||
![]() | inBox2 | AvlNet.Box | |||
![]() | inResolution | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | outDistance | float | |||
![]() | outConnectingSegment | AvlNet.NullableValue<AvlNet.Segment2D> | Can be null to skip this parameter calculation. |