Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » ReverseSegment
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Swaps the two endpoints of a segment.
Syntax
C++
C#
void fil::ReverseSegment ( const fil::Segment2D& inSegment, fil::Segment2D& outSegment )
Parameters
In-place Processing
This function supports in-place data processing - you can pass the same reference to inSegment and outSegment
Read more about In-place Computation.
Examples
![]() |
![]() |
ReverseSegment performed on the sample segment.