Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » AlignCircle
AlignCircle
Header: | AVL.h |
---|---|
Namespace: | avl |
Moves a circle from a local coordinate system to the absolute one.
Applications: Required when there is a circle defined in a local coordinate system, but the next image-related filter in the program does not have any inAlignment input.
Syntax
void avl::AlignCircle ( const avl::Circle2D& inCircle, const avl::CoordinateSystem2D& inAlignment, bool inInverse, avl::Circle2D& outAlignedCircle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inCircle | const Circle2D& | |||
inAlignment | const CoordinateSystem2D& | Coordinate system to align to | ||
inInverse | bool | Switches to the inverse transform | ||
outAlignedCircle | Circle2D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inCircle and outAlignedCircle
Read more about In-place Computation.
Description
AlignCircle aligns the inCircle to the inAlignment coordinate system. The input circle is translated, rotated and scaled.
Examples
See Also
- RotateCircle – Rotates a circle clockwise around a center point.
- TranslateCircle – Translates a circle by a vector.
- AlignPath – Moves a path from a local coordinate system to the absolute one.