You are here: Start » AVL.NET » AVL.SegmentLength Method
AVL.SegmentLength Method
Computes the length of a segment.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SegmentLength( AvlNet.Segment2D inSegment, out float outLength )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inSegment | AvlNet.Segment2D | |||
![]() | outLength | float |
Examples
![]() |
SegmentLength performed on a segment with parameters: X1 = 50, Y1 = 50, X2 = 300, Y2 = 300.
outLength returns 353,553.



