You are here: Start » AVL.NET » Invoke.SegmentToSegmentDistance
Measures the distance between two segments.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SegmentToSegmentDistance ( Avl.Segment2D inSegment1, Avl.Segment2D inSegment2, float inResolution, out float outDistance, Optional<Avl.Segment2D> outConnectingSegment )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSegment1 | Avl.Segment2D | |||
![]()  | inSegment2 | Avl.Segment2D | |||
![]()  | inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | 
![]()  | outDistance | float | |||
![]()  | outConnectingSegment | Atl.Optional<Avl.Segment2D> | 


