Position3D
Description
Represents three-dimensional position. This type is most commonly used with camera calibration functions.
The rotation convention assumes three intrinsic rotations, in the following order:
- Rotate clockwise around X-axis by φ (phi, a.k.a. yaw, heading or azimuth).
- Rotate upwards around Y-axis by θ (theta, a.k.a. pitch or elevation).
- Rotate clockwise around Z-axis by ψ (psi, a.k.a. roll or bank).
struct Position3D
{
real x;
real y;
real z;
real phi;
real theta;
real psi;
};
Structure Fields
Type fields and default values (if defined) are described below:
Name | Type | Description |
---|---|---|
X | Real | |
Y | Real | |
Z | Real | |
Phi | Real | Rotation around X axis |
Theta | Real | Rotation around Y axis |
Psi | Real | Rotation around Z axis |