Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Spatial Transforms » PathAlongArc
PathAlongArc
Transforms a path to a coordinate system in which the 'axis' arc is vertical or horizontal.
Syntax
C++
C#
void avl::PathAlongArc ( const avl::Path& inPath, const avl::Arc2D& inAxis, avl::Axis::Type inAxisType, float inAxisCoordinate, bool inInverse, avl::Path& outPath )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPath | const Path& | Input path | ||
inAxis | const Arc2D& | Input axis arc | ||
inAxisType | Axis::Type | Y | Type of axis the input axis arc is parallel to | |
inAxisCoordinate | float | 0.0f | Coordinate of the axis arc | |
inInverse | bool | True | Switches to the inverse operation | |
outPath | Path& | Transformed path |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPath and outPath