Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Constructions » CreateCoordinateSystemFromPoint
CreateCoordinateSystemFromPoint
Header: | AVL.h |
---|---|
Namespace: | avl |
Creates a coordinate system with the specified origin.
Applications: Most often used to define an object alignment from results of 1D Edge Detection or Blob Analysis.
Syntax
void avl::CreateCoordinateSystemFromPoint ( const avl::Point2D& inPoint, float inAngle, float inScale, float inScaleDivisor, avl::CoordinateSystem2D& outCoordinateSystem )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | const Point2D& | Origin of the created coordinate system | |||
inAngle | float | ||||
inScale | float | 0.001 - | 1.0f | ||
inScaleDivisor | float | 0.001 - | 1.0f | ||
outCoordinateSystem | CoordinateSystem2D& |
Hints
- Pass inPoint to a computed point, where you want to anchor a new coordinate system.
- Optionally set inAngle to define the rotation.
- Optionally set inScale and inScaleDivisor to obtain a custom scale.