Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Features » SegmentLength
SegmentLength
Computes the length of a segment.
Syntax
void avl::SegmentLength ( const avl::Segment2D& inSegment, atl::real& outLength )
Parameters
Examples
![]() |
SegmentLength performed on a segment with parameters: X1 = 50, Y1 = 50, X2 = 300, Y2 = 300.
outLength returns 353,553.



