Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » TrimSegment
![](../../img/icon/CropSegment.png)
TrimSegment
Header: | AVL.h |
---|---|
Namespace: | avl |
Creates a segment contained in a box from another segment.
Syntax
void avl::TrimSegment ( const avl::Segment2D& inSegment, const avl::Box& inBox, atl::Conditional<avl::Segment2D>& outSegment )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSegment | const Segment2D& | ||
![]() |
inBox | const Box& | ||
![]() |
outSegment | Conditional<Segment2D>& |
Examples
![]() |
![]() |
TrimSegment performed on the sample box and segment.