Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » TrimSegmentToRectangle
TrimSegmentToRectangle
Header: | AVL.h |
---|---|
Namespace: | avl |
Creates a segment contained in a rectangle from another segment.
Syntax
void avl::TrimSegmentToRectangle ( 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>& |