Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Spatial Transforms » ReverseSegment

ReverseSegment


Swaps the two endpoints of a segment.

Syntax

C++
C#
 
void avl::ReverseSegment
(
	const avl::Segment2D& inSegment,
	avl::Segment2D& outSegment
)

Parameters

Name Type Default Description
inSegment const Segment2D&
outSegment Segment2D&

Examples

ReverseSegment performed on the sample segment.