Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » SegmentCenter
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes the center point of a segment.
Syntax
C++
C#
void fil::SegmentCenter ( const fil::Segment2D& inSegment, fil::Point2D& outCenterPoint )
Parameters
Examples
![]() |
SegmentCenter performed on a segment with parameters: X1 = 50, Y1 = 50, X2 = 300, Y2 = 300.