You are here: Start » AVL.NET » AVL.BoxToBoxDistance
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
C++
C#
public static void BoxToBoxDistance ( AvlNet.Box inBox1, AvlNet.Box inBox2, float inResolution, out float outDistance, out 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.Segment2D |