You are here: Start » AVL.NET » Invoke.BoxToBoxDistance
Computes minimal distance between one of the points of the first box with one of the points of the second box.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void BoxToBoxDistance ( Avl.Box inBox1, Avl.Box inBox2, float inResolution, out float outDistance, Optional<Avl.Segment2D> outConnectingSegment )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inBox1 | Avl.Box | |||
![]()  | inBox2 | Avl.Box | |||
![]()  | inResolution | float | <0.0f, INF> | 1.0f | Default value: 1.0f. | 
![]()  | outDistance | float | |||
![]()  | outConnectingSegment | Atl.Optional<Avl.Segment2D> | 


