Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » SegmentCenter
![](../../img/icon/SegmentFeature.png)
SegmentCenter
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes the center point of a segment.
Syntax
void avl::SegmentCenter ( const avl::Segment2D& inSegment, avl::Point2D& outCenterPoint )
Parameters
Examples
![]() |
SegmentCenter performed on a segment with parameters: X1 = 50, Y1 = 50, X2 = 300, Y2 = 300.