Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » CropPath
Header: | AVL.h |
---|---|
Namespace: | avl |
Creates a path contained in a box from another path.
Syntax
C++
C#
void avl::CropPath ( const avl::Path& inPath, const avl::Box& inBox, avl::CropPathMethod::Type inCropPathMethod, avl::Path& outPath )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPath | const Path& | Input path | ||
inBox | const Box& | |||
inCropPathMethod | CropPathMethod::Type | PointToPoint | ||
outPath | Path& | Output path |
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown method for cropping a path in CropPath. |