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