Public Member Functions | |
| None | __init__ (self, Point origin, Point x_axis, Point y_axis, Point z_axis) |
| Creates a coordinate system. | |
| Point | origin (self) |
| Origin of the coordinate system. | |
| Point | x_axis (self) |
| X-axis vector of the coordinate system. | |
| Point | y_axis (self) |
| Y-axis vector of the coordinate system. | |
| Point | z_axis (self) |
| Z-axis vector of the coordinate system. | |
| bool | __eq__ (self, object other) |
| Check if two coordinate systems are equal. | |
| bool | __ne__ (self, object other) |
| Check if two coordinate systems are not equal. | |
| str | __repr__ (self) |
| Get a string representation of the CoordinateSystem. | |
Protected Attributes | |
| Point | _origin = origin |
| Point | _x_axis = x_axis |
| Point | _y_axis = y_axis |
| Point | _z_axis = z_axis |
Represents the coordinate system of a calibration view that was projected into the 2D plane.
The coordinate system is represented by its origin and three vectors, each corresponding to one of the three coordinate axes (X, Y and Z). These vectors describe the directions of the respective axes projected from 3D into 2D space. Their lengths are determined by twice the distance between neighboring markers on the calibration plate.
| None __init__ | ( | self, | |
| Point | origin, | ||
| Point | x_axis, | ||
| Point | y_axis, | ||
| Point | z_axis ) |
Creates a coordinate system.
| origin | origin coordinate |
| x_axis | x_axis coordinate |
| y_axis | y_axis coordinate |
| z_axis | z_axis coordinate |
| NotSupportedException | if the given arguments are not points. |
| bool __eq__ | ( | self, | |
| object | other ) |
Check if two coordinate systems are equal.
| other | Another CoordinateSystem object |
| bool __ne__ | ( | self, | |
| object | other ) |
Check if two coordinate systems are not equal.
| other | Another CoordinateSystem object |
| str __repr__ | ( | self | ) |
Get a string representation of the CoordinateSystem.
| Point origin | ( | self | ) |
Origin of the coordinate system.
| Point x_axis | ( | self | ) |
X-axis vector of the coordinate system.
| Point y_axis | ( | self | ) |
Y-axis vector of the coordinate system.
| Point z_axis | ( | self | ) |
Z-axis vector of the coordinate system.
|
protected |
|
protected |
|
protected |
|
protected |