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



