§ Mass()
SurgSim::Physics::Mass::Mass |
( |
double |
mass = 0.0 | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
mass | The mass (in Kg) default value is 0 |
§ getMass()
double SurgSim::Physics::Mass::getMass |
( |
| ) |
const |
|
inline |
Gets the mass.
- Returns
- The mass stored (in Kg)
§ operator!=()
bool SurgSim::Physics::Mass::operator!= |
( |
const Mass & |
m | ) |
const |
|
inline |
Comparison operator (inequality)
- Parameters
-
- Returns
- False if the 2 Mass contains the same information, True otherwise
§ operator==()
bool SurgSim::Physics::Mass::operator== |
( |
const Mass & |
m | ) |
const |
|
inline |
Comparison operator (equality)
- Parameters
-
- Returns
- True if the 2 Mass contains the same information, false otherwise
§ setMass()
void SurgSim::Physics::Mass::setMass |
( |
double |
mass | ) |
|
|
inline |
Sets the mass.
- Parameters
-
mass | The mass to be stored (in Kg) |
The documentation for this class was generated from the following file: