You are here: Start » AVL.NET » AVL.CreateCoordinateSystemFromRectangle
Creates a coordinate system from a rectangle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateCoordinateSystemFromRectangle ( AvlNet.Rectangle2D inRectangle, AvlNet.Anchor2D inPointAnchor, float inRelativeAngle, float inScale, float inScaleDivisor, out AvlNet.CoordinateSystem2D outCoordinateSystem )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRectangle | AvlNet.Rectangle2D | ||||
inPointAnchor | AvlNet.Anchor2D | TopLeft | Default value: TopLeft. | ||
inRelativeAngle | float | ||||
inScale | float | <0.001f, INF> | 1.0f | Default value: 1.0f. | |
inScaleDivisor | float | <0.001f, INF> | 1.0f | Default value: 1.0f. | |
outCoordinateSystem | AvlNet.CoordinateSystem2D |
Examples
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.