Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » AlignArc
Moves an arc from a local coordinate system to the absolute one.
Syntax
C++
C#
void avl::AlignArc ( const avl::Arc2D& inArc, const avl::CoordinateSystem2D& inAlignment, bool inInverse, avl::Arc2D& outAlignedArc )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inArc | const Arc2D& | |||
inAlignment | const CoordinateSystem2D& | Coordinate system to align to | ||
inInverse | bool | Switches to the inverse transform | ||
outAlignedArc | Arc2D& |
Description
AlignArc aligns the inArc to the inAlignment coordinate system. The input arc is translated, rotated and scaled.
The inAlignment is usually a coordinate system found by some template matching algorithm.