Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » CropSegmentToRectangle
Creates a segment contained in a rectangle from another segment.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::CropSegmentToRectangle ( const avl::Segment2D& inSegment, const avl::Rectangle2D& inRectangle, atl::Conditional<avl::Segment2D>& outSegment )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSegment | const Segment2D& | |||
inRectangle | const Rectangle2D& | Rectangle defining a region the input segment will be cropped to | ||
outSegment | Conditional<Segment2D>& |