You are here: Start » AVL.NET » AVL.CreateCoordinateSystemFromTwoPoints
Creates a coordinate system with two points on its axes.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateCoordinateSystemFromTwoPoints ( AvlNet.Point2D inPoint1, AvlNet.Point2D inPoint2, float inAngle, float inScale, float inScaleDivisor, out AvlNet.CoordinateSystem2D outCoordinateSystem )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint1 | AvlNet.Point2D | ||||
inPoint2 | AvlNet.Point2D | ||||
inAngle | 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 |
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.