216 Length
Pixels(
double pixels);
223 Length
Inches(
double inches);
230 Length
Feet(
double feet);
237 Length
Meters(
double meters);
258 Length
Tiles(
double tiles);
A Utility Unit class for Angles.
double revolutions()
Returns the Angle in revolutions.
double m_value
The underlying value of the Angle.
Angle()
Construct a new Angle object.
friend Angle Revolutions(double revolutions)
Constructs an Angle from Revolutions.
double radians()
Returns the Angle in radians.
friend Angle Degrees(double degrees)
Constructs an Angle from Degrees.
void constrain()
Constrains the Angle to the -180 to 180 range.
Angle operator=(double const &f)
Assign a value to the Angle object.
double degrees()
Returns the Angle in degrees.
friend Angle Radians(double radians)
Constructs an Angle from Radians.
A Utility Unit class for Length.
friend Length Centimeters(double centimeters)
Constructs a Length from Centimeters.
double centimeters()
Returns the Length in centimeters.
double meters()
Returns the Length in meters.
friend Length Meters(double meters)
Constructs a Length from Meters.
friend Length Inches(double inches)
Constructs a Length from Inches.
double m_value
The underlying value of Length.
double feet()
Returns the Length in feet.
double millimeters()
Returns the Length in millimeters.
Length()
Construct a new Length object.
friend Length Feet(double feet)
Constructs a Length from Feet.
double inches()
Returns the Length in inches.
Length operator=(double const &f)
Assign a value to the Length object.
double pixels()
Returns the Length in pixels.
friend Length Pixels(double pixels)
Constructs a Length from Pixels.
friend Length Millimeters(double millimeters)
Constructs a Length from Millimeters.
friend Length Tiles(double tiles)
Constructs a Length from Tiles.
double tiles()
Returns the Length in tiles.
Length Meters(double meters)
Constructs a Length from Meters.
Angle Degrees(double degrees)
Constructs an Angle from Degrees.
Length Centimeters(double centimeters)
Constructs a Length from Centimeters.
Length Inches(double inches)
Constructs a Length from Inches.
Length Tiles(double tiles)
Constructs a Length from Tiles.
Angle shortestTurnPath(const Angle target)
Returns the shortest turn path to reach the target angle.
Angle Radians(double radians)
Constructs an Angle from Radians.
Length Feet(double feet)
Constructs a Length from Feet.
Length Millimeters(double millimeters)
Constructs a Length from Millimeters.
Angle Revolutions(double revolutions)
Constructs an Angle from Revolutions.
Length Pixels(double pixels)
Constructs a Length from Pixels.