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