#include <Position.h>
◆ Position() [1/4]
◆ Position() [2/4]
| Position::Position |
( |
long |
xPos, |
|
|
long |
yPos, |
|
|
long |
zPos |
|
) |
| |
◆ Position() [3/4]
| Position::Position |
( |
double |
elevation, |
|
|
double |
azimuth, |
|
|
long |
distance |
|
) |
| |
◆ Position() [4/4]
| Position::Position |
( |
Polar * |
polar | ) |
|
|
explicit |
◆ fromPolar()
| Position * Position::fromPolar |
( |
Position * |
pos, |
|
|
double |
elevationAngle, |
|
|
double |
azimuthAngle, |
|
|
long |
radialDistance |
|
) |
| |
|
static |
Returns a cubic (X,Y,Z) Position for a given set of spherical coordinates
- Parameters
-
| elevationAngle | Vertical angle of the radial extending directly out in front, positive up and negative down. |
| azimuthAngle | Horizontal angle of the radial extending directly out in front, positive to the right and negative to the left. |
| radialDistance | Distance of the radial extending directly out in front. |
- Returns
- Pointer to a Position object
◆ toPolar()
| Polar * Position::toPolar |
( |
Polar * |
pol, |
|
|
long |
xPos, |
|
|
long |
yPos, |
|
|
long |
zPos |
|
) |
| |
|
static |
Returns a spherical Polar object for a given X,Y,Z location in a 3D Cartesian coordinate system.
- Parameters
-
- Returns
- Pointer to a Polar object
◆ xPos
◆ yPos
◆ zPos
The documentation for this struct was generated from the following files: