WPILibC++ 2024.3.2
|
A class representing a coordinate system axis within the NWU coordinate system. More...
#include <frc/geometry/CoordinateAxis.h>
Public Member Functions | |
CoordinateAxis (double x, double y, double z) | |
Constructs a coordinate system axis within the NWU coordinate system and normalizes it. More... | |
CoordinateAxis (const CoordinateAxis &)=default | |
CoordinateAxis & | operator= (const CoordinateAxis &)=default |
CoordinateAxis (CoordinateAxis &&)=default | |
CoordinateAxis & | operator= (CoordinateAxis &&)=default |
Static Public Member Functions | |
static const CoordinateAxis & | N () |
Returns a coordinate axis corresponding to +X in the NWU coordinate system. More... | |
static const CoordinateAxis & | S () |
Returns a coordinate axis corresponding to -X in the NWU coordinate system. More... | |
static const CoordinateAxis & | E () |
Returns a coordinate axis corresponding to -Y in the NWU coordinate system. More... | |
static const CoordinateAxis & | W () |
Returns a coordinate axis corresponding to +Y in the NWU coordinate system. More... | |
static const CoordinateAxis & | U () |
Returns a coordinate axis corresponding to +Z in the NWU coordinate system. More... | |
static const CoordinateAxis & | D () |
Returns a coordinate axis corresponding to -Z in the NWU coordinate system. More... | |
Friends | |
class | CoordinateSystem |
A class representing a coordinate system axis within the NWU coordinate system.
frc::CoordinateAxis::CoordinateAxis | ( | double | x, |
double | y, | ||
double | z | ||
) |
Constructs a coordinate system axis within the NWU coordinate system and normalizes it.
x | The x component. |
y | The y component. |
z | The z component. |
|
default |
|
default |
|
static |
Returns a coordinate axis corresponding to -Z in the NWU coordinate system.
|
static |
Returns a coordinate axis corresponding to -Y in the NWU coordinate system.
|
static |
Returns a coordinate axis corresponding to +X in the NWU coordinate system.
|
default |
|
default |
|
static |
Returns a coordinate axis corresponding to -X in the NWU coordinate system.
|
static |
Returns a coordinate axis corresponding to +Z in the NWU coordinate system.
|
static |
Returns a coordinate axis corresponding to +Y in the NWU coordinate system.
|
friend |