You are here: Start » AVL.NET » AVL.CircleToCircleDistance Method
AVL.CircleToCircleDistance Method
Measures the distance between two circles.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CircleToCircleDistance( AvlNet.Circle2D inCircle1, AvlNet.Circle2D inCircle2, float inResolution, out float outDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inCircle1 | AvlNet.Circle2D | |||
![]() | inCircle2 | AvlNet.Circle2D | |||
![]() | inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. |
![]() | outDistance | float |
Examples
![]() |
![]() |
CircleToCircleDistance performed on two sample circles. The green segment is the value of outConnectingSegment output.