Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Constructions » CreateCoordinateSystemFromPoint
CreateCoordinateSystemFromPoint
Creates a coordinate system with the specified origin.
Syntax
C++
C#
void avl::CreateCoordinateSystemFromPoint ( const avl::Point2D& inPoint, atl::real inAngle, atl::real inScale, atl::real inScaleDivisor, avl::CoordinateSystem2D& outCoordinateSystem )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPoint | const Point2D& | Origin of the created coordinate system | ||
![]() |
inAngle | real | |||
![]() |
inScale | real | 0.001 - ![]() |
1.0f | |
![]() |
inScaleDivisor | real | 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.
Examples
A local coordinate system created from a point. Here, the point is located with a 1D Edge Detection filter.
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.



