A class representing a coordinate system axis within the NWU coordinate system.
More...
#include <frc/geometry/CoordinateAxis.h>
|
static constexpr CoordinateAxis | N () |
| Returns a coordinate axis corresponding to +X in the NWU coordinate system.
|
|
static constexpr CoordinateAxis | S () |
| Returns a coordinate axis corresponding to -X in the NWU coordinate system.
|
|
static constexpr CoordinateAxis | E () |
| Returns a coordinate axis corresponding to -Y in the NWU coordinate system.
|
|
static constexpr CoordinateAxis | W () |
| Returns a coordinate axis corresponding to +Y in the NWU coordinate system.
|
|
static constexpr CoordinateAxis | U () |
| Returns a coordinate axis corresponding to +Z in the NWU coordinate system.
|
|
static constexpr CoordinateAxis | D () |
| Returns a coordinate axis corresponding to -Z in the NWU coordinate system.
|
|
A class representing a coordinate system axis within the NWU coordinate system.
◆ CoordinateAxis() [1/3]
frc::CoordinateAxis::CoordinateAxis |
( |
double | x, |
|
|
double | y, |
|
|
double | z ) |
|
inlineconstexpr |
Constructs a coordinate system axis within the NWU coordinate system and normalizes it.
- Parameters
-
x | The x component. |
y | The y component. |
z | The z component. |
◆ CoordinateAxis() [2/3]
◆ CoordinateAxis() [3/3]
◆ D()
Returns a coordinate axis corresponding to -Z in the NWU coordinate system.
◆ E()
Returns a coordinate axis corresponding to -Y in the NWU coordinate system.
◆ N()
Returns a coordinate axis corresponding to +X in the NWU coordinate system.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ S()
Returns a coordinate axis corresponding to -X in the NWU coordinate system.
◆ U()
Returns a coordinate axis corresponding to +Z in the NWU coordinate system.
◆ W()
Returns a coordinate axis corresponding to +Y in the NWU coordinate system.
◆ CoordinateSystem
The documentation for this class was generated from the following file: