|
OpenLexocad
27.0
|
A compound measure of plane angle in degrees, minutes, seconds, and optionally millionth-seconds of arc. More...
#include <CompoundPlaneAngle.h>
Public Member Functions | |
| CompoundPlaneAngle () | |
| Constructs a CompoundPlaneAngle at 0 degrees, 0 minutes, 0 seconds. More... | |
| CompoundPlaneAngle (int degrees, int minutes, int seconds) | |
| Constructs a CompoundPlaneAngle from degrees, minutes and seconds. More... | |
| CompoundPlaneAngle (int degrees, int minutes, int seconds, int millionthSeconds) | |
| Constructs a CompoundPlaneAngle from degrees, minutes, seconds and millionth-seconds. More... | |
| void | setDegrees (int degrees) |
| The first integer measure is the number of degrees in the range {360; -360}. Throws Base::OutOfRange if degrees are out of range. More... | |
| int | getDegrees () const |
| Get degrees. More... | |
| void | setMinutes (int minutes) |
| The second integer measure is the number of minutes in the range {60; -60}. Throws Base::OutOfRange if minutes are out of range. More... | |
| int | getMinutes () const |
| Get minutes. More... | |
| void | setSeconds (int seconds) |
| The third integer measure is the number of seconds in the range {60; -60}. Throws Base::OutOfRange if seconds are out of range. More... | |
| int | getSeconds () const |
| Get seconds. More... | |
| void | setMillionthSeconds (int millionthSeconds) |
| int | getMillionthSeconds () const |
| Get third integer. More... | |
| std::vector< int > | getValues () const |
| Get values. More... | |
| bool | operator== (const Geom::CompoundPlaneAngle &other) const |
| bool | operator!= (const Geom::CompoundPlaneAngle &other) const |
A compound measure of plane angle in degrees, minutes, seconds, and optionally millionth-seconds of arc.
| Geom::CompoundPlaneAngle::CompoundPlaneAngle | ( | ) |
Constructs a CompoundPlaneAngle at 0 degrees, 0 minutes, 0 seconds.
| Geom::CompoundPlaneAngle::CompoundPlaneAngle | ( | int | degrees, |
| int | minutes, | ||
| int | seconds | ||
| ) |
Constructs a CompoundPlaneAngle from degrees, minutes and seconds.
| Geom::CompoundPlaneAngle::CompoundPlaneAngle | ( | int | degrees, |
| int | minutes, | ||
| int | seconds, | ||
| int | millionthSeconds | ||
| ) |
Constructs a CompoundPlaneAngle from degrees, minutes, seconds and millionth-seconds.
| int Geom::CompoundPlaneAngle::getDegrees | ( | ) | const |
Get degrees.
| int Geom::CompoundPlaneAngle::getMillionthSeconds | ( | ) | const |
Get third integer.
| int Geom::CompoundPlaneAngle::getMinutes | ( | ) | const |
Get minutes.
| int Geom::CompoundPlaneAngle::getSeconds | ( | ) | const |
Get seconds.
| std::vector<int> Geom::CompoundPlaneAngle::getValues | ( | ) | const |
Get values.
| bool Geom::CompoundPlaneAngle::operator!= | ( | const Geom::CompoundPlaneAngle & | other | ) | const |
| bool Geom::CompoundPlaneAngle::operator== | ( | const Geom::CompoundPlaneAngle & | other | ) | const |
| void Geom::CompoundPlaneAngle::setDegrees | ( | int | degrees | ) |
The first integer measure is the number of degrees in the range {360; -360}. Throws Base::OutOfRange if degrees are out of range.
| void Geom::CompoundPlaneAngle::setMillionthSeconds | ( | int | millionthSeconds | ) |
The optional fourth integer measure is the number of millionth-seconds in the range {1 000 000; -1 000 000}. Throws Base::OutOfRange if millionth-seconds are out of range.
| void Geom::CompoundPlaneAngle::setMinutes | ( | int | minutes | ) |
The second integer measure is the number of minutes in the range {60; -60}. Throws Base::OutOfRange if minutes are out of range.
| void Geom::CompoundPlaneAngle::setSeconds | ( | int | seconds | ) |
The third integer measure is the number of seconds in the range {60; -60}. Throws Base::OutOfRange if seconds are out of range.