Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » SegmentVector
![](../../img/icon/SegmentFeature.png)
SegmentVector
Header: | AVL.h |
---|---|
Namespace: | avl |
Returns the vector [x2 - x1, y2 - y1].
Syntax
void avl::SegmentVector ( const avl::Segment2D& inSegment, avl::Vector2D& outVector )
Parameters
Examples
![]() |
![]() |
SegmentVector performed on a segment with parameters: X1 = 50, Y1 = 50, X2 = 300, Y2 = 300.
outVector result shown on the right picture.