Start » Filter Reference » Geometry 2D » Geometry 2D Constructions » CreateCoordinateSystemFromRectangle
Module: | FoundationLite |
---|
Creates a coordinate system from a rectangle.
Applications
Most often used to define an object alignment from a filter like RegionBoundingRectangle.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | ||
![]() |
inPointAnchor | Anchor2D | ||
![]() |
inRelativeAngle | Real | ||
![]() |
inScale | Real | 0.001 - ![]() |
|
![]() |
inScaleDivisor | Real | 0.001 - ![]() |
|
![]() |
outCoordinateSystem | CoordinateSystem2D |
Hints
- Connect inRectangle to a computed rectangle representing a new coordinate system.
- Optionally set inScale and inScaleDivisor to obtain a custom scale.
- Optionally set inRelativeAngle to modify the rotation.
Examples
Description of usage of this filter can be found in examples and tutorial: Badge Measurement, Button Presence, Chocolate Cookies Inspection 3D.

A local coordinate system created from a rectangle.
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of CreateCoordinateSystem filter group.