Back to Adaptive Vision Library website

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

CropSegment


Creates a segment contained in a box from another segment.

Syntax

C++
C#
 
void avl::CropSegment
(
	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

CropSegment performed on the sample box and segment.