![]() |
VR-Forces 4.10 Class Documentation
|
Utility class for doing global unit conversion. More...
Public Member Functions | |
| DtDisplayUnitsConverter (const DtCoordinateSystem &cs, DtSharedSettingsManager &sm) | |
| DtCoordinateDisplay * | currentCoordinateDisplay () |
| Get the current coordinate display. More... | |
| const DtCoordinateDisplay * | currentCoordinateDisplay () const |
| Get the current coordinate display. More... | |
Current Unit Accessors | |
| CoordSys | currentCoordinateDisplaySystem () const |
| DistanceUnits | currentDistanceUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the distance unit of measurement to use for a given display unit. More... | |
| VelocityUnits | currentVelocityUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the velocity unit of measurement to use for a given display unit. More... | |
| OrientationUnits | currentOrientationUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the orientation unit of measurement to use for a given display unit. More... | |
| NorthUnits | currentNorthUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the north unit of measurement to use for a given display unit. More... | |
| AccelerationUnits | currentAccelerationUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the acceleration unit of measurement to use for a given display unit. More... | |
| RotVelocityUnits | currentRotationalVelocityUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the rotational velocity unit of measurement to use for a given display unit. More... | |
| TemperatureUnits | currentTemperatureUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the temperature unit of measurement to use for a given display unit. More... | |
| PressureUnits | currentPressureUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the pressure unit of measurement to use for a given display unit. More... | |
| unsigned int | displayUnitUnit (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the unit of measurement to use for a display unit. More... | |
| unsigned int | displayUnitDecimals (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the number of decimal places to use for a display unit. More... | |
| DtUnicode | displayUnitNotation (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) const |
| Returns the notation to use for a display unit. More... | |
Unit Accessors | |
| DtUnicode | coordinateSystemNotation (CoordSys cs) const |
| DtUnicode | distanceUnitNotation (DistanceUnits distUnit) const |
| DtUnicode | velocityUnitNotation (VelocityUnits velocityUnit) const |
| DtUnicode | orientationUnitNotation (OrientationUnits oriUnit) const |
| DtUnicode | accelerationUnitNotation (AccelerationUnits accelUnit) const |
| DtUnicode | rotationalVelocityUnitNotation (RotVelocityUnits wUnit) const |
| DtUnicode | temperatureUnitNotation (TemperatureUnits tempUnit) const |
| DtUnicode | pressureUnitNotation (PressureUnits pressureUnit) const |
| DtUnicode | northUnitNotation (NorthUnits wUnit) const |
Complex Accessors | |
| void | coordinateSystemLabels (DtUnicode &x, DtUnicode &y, DtUnicode &z) |
| Gets the coordinate system labels for the current coordinate system. More... | |
| void | coordinateSystemLabels (CoordSys coordSystem, DtUnicode &x, DtUnicode &y, DtUnicode &z) |
| Gets the coordinate system labels for the given coordinate system. More... | |
| void | regularExpressionValidators (std::string &x, std::string &y, std::string &z) |
| Gets the regex validators for the current coordinate system. More... | |
| void | regularExpressionValidators (CoordSys cs, std::string &x, std::string &y, std::string &z) |
| Gets the regex validators for the given coordinate system. More... | |
| std::vector< DtUnicode > | convertPositionToNotatedStringList (CoordSys coordSys, const DtVector &pos, DistanceUnits coordinateSystemUnit, unsigned int coordinateSystemDecimals, DistanceUnits altitudeUnit, unsigned int altitudeDecimals) |
| Convert the geocentric position to a vector of notated strings. More... | |
| std::vector< DtUnicode > | convertPositionToNotatedStringList (const DtVector &pos, DistanceUnits coordinateSystemUnit, unsigned int coordinateSystemDecimals, DistanceUnits altitudeUnit, unsigned int altitudeDecimals) const |
| Convert the geocentric position to a vector of notated strings. More... | |
| std::vector< std::string > | convertPositionToStringList (CoordSys coordSys, const DtVector &pos, DistanceUnits coordinateSystemUnit, unsigned int coordinateSystemDecimals, DistanceUnits altitudeUnit, unsigned int altitudeDecimals) |
| Converts the given position to list of strings in the given units and decimals. More... | |
| std::vector< std::string > | convertPositionToStringList (const DtVector &pos, DistanceUnits coordinateSystemUnit, unsigned int coordinateSystemDecimals, DistanceUnits altitudeUnit, unsigned int altitudeDecimals) const |
| Converts the given position to list of strings in the given units and decimals. More... | |
Angle Converting: Non-spacial unit type. | |
| double | convertAngleUnitNativeToDisplay (double angle, OrientationUnits unit) const |
| Converts the angle to the current orientation units. More... | |
| double | convertAngleUnitDisplayToNative (double angle, OrientationUnits unit) const |
| Converts the angle from the current units to radians. More... | |
| std::string | convertAngleUnitNativeToDisplayString (double angle, OrientationUnits unit, unsigned int decimals, bool additionalFormatting=false) const |
| Formats the provided angle as a string with the specified orientation units and decimal places. More... | |
| DtUnicode | convertAngleUnitNativeToNotatedDisplayString (double angle, OrientationUnits unit, unsigned int decimals, bool additionalFormatting=false) const |
| Formats the provided angle as a string with the specified orientation units, decimal places, and unit notation. More... | |
Heading Converting: Non-spacial unit type. | |
| double | convertHeadingUnitNativeToDisplay (const DtVector &geocLoc, double heading, NorthUnits unit, bool convertDisplayToDegrees=true) const |
| Converts the heading to the specified North unit. More... | |
| double | convertHeadingUnitDisplayToNative (const DtVector &geocLoc, double heading, NorthUnits unit, bool convertNativeToRadians=true) const |
| Converts the heading from the specified North Unit to True North. More... | |
| double | convertLocationToDeclination (const DtVector &geocLoc) const |
| Converts the geocentric location to declination. More... | |
| DtUnicode | convertHeadingUnitNativeToNotatedDisplayString (const DtVector &geocLoc, double heading, NorthUnits unit) const |
| Formats the provided heading as a notated string with the specified North Unit. More... | |
Distance Converters: Spacial unit type. | |
| double | convertDistanceUnitNativeToDisplay (double distance, DistanceUnits unit) const |
| Converts the distance to the current distance units. More... | |
| double | convertDistanceUnitDisplayToNative (double distance, DistanceUnits unit) const |
| Converts the distance from the current units to meters. More... | |
| std::string | convertDistanceUnitNativeToDisplayString (double dist, DistanceUnits unit, unsigned int decimals) const |
| Converts the distance to the current distance units. More... | |
| DtUnicode | convertDistanceUnitNativeToNotatedDisplayString (double dist, DistanceUnits unit, unsigned int decimals) const |
| Converts the distance to the current distance units with unit notation included. More... | |
Velocity Converters: Spacial unit type. | |
} | |
| DtVector | convertVelocityUnitNativeToDisplay (const DtVector &vel, VelocityUnits unit) const |
| Converts the altitude to the current altitude units. More... | |
| DtVector | convertVelocityUnitDisplayToNative (const DtVector &vel, VelocityUnits unit) const |
| Converts the velocity from the current velocity units to the native units. More... | |
| DtVector | convertVelocitySystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &geocVel, VelocityUnits unit) const |
| Converts the geocentric velocity to the current display coordinate system and the current display units. More... | |
| std::string | convertVelocityUnitNativeToDisplayString (const DtVector &vel, VelocityUnits unit, unsigned int decimals) const |
| Converts the velocity to the current display units. More... | |
| std::string | convertVelocitySystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &geocVel, VelocityUnits unit, unsigned int decimals) const |
| Converts the geocentric velocity to the current display coordinate system and the current display units. More... | |
Acceleration Converters: Spacial unit type. | |
| DtVector | convertAccelerationUnitNativeToDisplay (const DtVector &accel, AccelerationUnits unit) const |
| Converts the acceleration to the current acceleration units. More... | |
| DtVector | convertAccelerationUnitDisplayToNative (const DtVector &accel, AccelerationUnits unit) const |
| Converts the acceleration from the current acceleration units to the native units. More... | |
| std::string | convertAccelerationUnitNativeToDisplayString (const DtVector &accel, AccelerationUnits unit, unsigned int decimals) const |
| Converts the acceleration to the current acceleration units. More... | |
| DtVector | convertAccelerationSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &accel, AccelerationUnits unit) const |
| Converts the acceleration to the current acceleration units. More... | |
| std::string | convertAccelerationSystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &accel, AccelerationUnits unit, unsigned int decimals) const |
| Converts the acceleration to the current acceleration units. More... | |
Orientation Converters: Spacial unit type. | |
| DtTaitBryan | convertOrientationUnitNativeToDisplay (const DtTaitBryan &ori, OrientationUnits unit) const |
| Converts the orientation to the current orientation units. More... | |
| DtTaitBryan | convertOrientationUnitDisplayToNative (const DtTaitBryan &ori, OrientationUnits unit) const |
| Converts the orientation from the current units to radians. More... | |
| std::vector< std::string > | convertOrientationUnitNativeToDisplayStrings (const DtTaitBryan &ori, OrientationUnits unit, unsigned int decimals, NorthUnits northUnit, bool formatPsi=false, bool formatTheta=false, bool formatPhi=false) const |
| Converts the orientation to the current orientation units. More... | |
| std::vector< DtUnicode > | convertOrientationUnitNativeToNotatedDisplayStrings (const DtTaitBryan &ori, OrientationUnits unit, unsigned int decimals, NorthUnits northUnit, bool formatPsi=false, bool formatTheta=false, bool formatPhi=false) const |
| Converts the orientation to the current orientation units. More... | |
Rotational Velocity Converters: Spacial unit type. | |
| DtVector | convertRotationalVelocityUnitNativeToDisplay (const DtVector &rotVel, RotVelocityUnits unit) const |
| Converts the rotational velocity to the rotVel units. More... | |
| DtVector | convertRotationalVelocityUnitDisplayToNative (const DtVector &rotVel, RotVelocityUnits unit) const |
| Converts the rotational velocity to the rotVel units. More... | |
| std::string | convertRotationalVelocityUnitNativeToDisplayString (const DtVector &rotVel, RotVelocityUnits unit, unsigned int decimals) const |
| Converts the rotational velocity to the rotVel units. More... | |
| DtVector | convertRotationalVelocitySystemAndUnitGeocentricToDisplay (const DtVector &rotVel, RotVelocityUnits unit) const |
| Converts the rotational velocity to the rotVel units. More... | |
| std::string | convertRotationalVelocitySystemAndUnitGeocentricToDisplayString (const DtVector &rotVel, RotVelocityUnits unit, unsigned int decimals) const |
| Converts the rotational velocity to the rotVel units. More... | |
Speed Converters: Spacial-Derived unit type. | |
| double | convertSpeedUnitNativeToDisplay (const DtVector &velocity, VelocityUnits unit) const |
| Converts the speed to the current velocity units. More... | |
| double | convertSpeedUnitNativeToDisplay (double speed, VelocityUnits unit) const |
| Converts the speed to the current velocity units. More... | |
| double | convertSpeedUnitDisplayToNative (double speed, VelocityUnits unit) const |
| Converts the speed to the current velocity units. More... | |
| double | convertSpeedSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &velocity, VelocityUnits unit) const |
| Converts the speed to the current velocity units. More... | |
| std::string | convertSpeedUnitNativeToDisplayString (const DtVector &velocity, VelocityUnits unit, unsigned int decimals) const |
| Converts the speed to the current velocity units. More... | |
| std::string | convertSpeedUnitNativeToDisplayString (double speed, VelocityUnits unit, unsigned int decimals) const |
| Converts the speed to the current velocity units. More... | |
| std::string | convertSpeedSystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &velocity, VelocityUnits unit, unsigned int decimals) const |
| Converts the speed to the current velocity units. More... | |
Acceleration Magnitude Converters: Spacial-Derived unit type. | |
| double | convertAccelerationMagnitudeUnitNativeToDisplay (const DtVector &accel, AccelerationUnits unit) const |
| Converts the acceleration magnitude to the current acceleration units. More... | |
| double | convertAccelerationMagnitudeUnitNativeToDisplay (double accel, AccelerationUnits unit) const |
| Converts the acceleration magnitude to the current acceleration units. More... | |
| double | convertAccelerationMagnitudeUnitDisplayToNative (double acc, AccelerationUnits unit) const |
| Converts the acceleration from the current units to m/s^2. More... | |
| std::string | convertAccelerationMagnitudeUnitNativeToDisplayString (const DtVector &accel, AccelerationUnits unit, unsigned int decimals) const |
| Converts the acceleration to the current acceleration units. More... | |
| std::string | convertAccelerationMagnitudeUnitNativeToDisplayString (double accel, AccelerationUnits unit, unsigned int decimals) const |
| Converts the acceleration to the current acceleration units. More... | |
| double | convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &accel, AccelerationUnits unit) const |
| Converts the acceleration magnitude to the current acceleration units. More... | |
| std::string | convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &accel, AccelerationUnits unit, unsigned int decimals) const |
| Converts the acceleration magnitude to the current acceleration units. More... | |
Heading/Pitch/Roll conversions: Spacial-Derived unit type. | |
| DtTaitBryan | convertHeadingPitchRollSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtTaitBryan &geocOri, OrientationUnits unit) const |
| Converts the orientation to HPR in the current orientation units. More... | |
| std::vector< DtUnicode > | convertHeadingPitchRollSystemAndUnitGeocentricToNotatedDisplayStrings (const DtVector &geocLoc, const DtTaitBryan &geocOri, OrientationUnits unit, unsigned int decimals, NorthUnits northUnit, bool formatHeading=false, bool formatPitch=false, bool formatRoll=false) const |
| Converts the orientation to HPR strings. More... | |
| std::vector< std::string > | convertHeadingPitchRollSystemAndUnitGeocentricToDisplayStrings (const DtVector &geocLoc, const DtTaitBryan &geocOri, OrientationUnits unit, unsigned int decimals, NorthUnits northUnit, bool formatHeading=false, bool formatPitch=false, bool formatRoll=false) const |
| Converts the orientation to Heading, Pitch, and Roll strings. More... | |
Temperature Converters: Temperature unit type. | |
| double | convertTemperatureUnitNativeToDisplay (double temperature, TemperatureUnits unit) const |
| Converts the value from Kelvins to the passed in unit of measurement. More... | |
| double | convertTemperatureUnitDisplayToNative (double temperature, TemperatureUnits unit) const |
| Converts the value from the passed in unit of measurement to Kelvins. More... | |
| std::string | convertTemperatureUnitNativeToDisplayString (double temperature, TemperatureUnits unit, unsigned int decimals) const |
| Returns a string that represents the passed in value using the passed in unit of measurement and number of decimal places. More... | |
Pressure Converters: Pressure unit type. | |
| double | convertPressureUnitNativeToDisplay (double pressure, PressureUnits unit) const |
| Converts the value from Pascals to the passed in unit of measurement. More... | |
| double | convertPressureUnitDisplayToNative (double pressure, PressureUnits unit) const |
| Converts the value from the passed in unit of measurement to Pascals. More... | |
| std::string | convertPressureUnitNativeToDisplayString (double pressure, PressureUnits unit, unsigned int decimals) const |
| Returns a string that represents the passed in value using the passed in unit of measurement and number of decimal places. More... | |
Static Protected Member Functions | |
| static std::string | orientationValueToText (double value, int decimals, bool additionalFormatting) |
| Returns the passed in orientation value, expected to be in degrees, as a string with the given decimal count. More... | |
| static std::string | orientationValuesToText (const DtVector &ori, int decimals, bool formatPsi=false, bool formatTheta=false, bool formatPhi=false) |
| Returns the given values, expected to be in degrees, as a string with the given decimal count. More... | |
| static std::string | valueToText (double value, int decimals) |
| Returns the given double value as a string with the given decimal count. More... | |
| static std::string | valuesToText (const DtVector &localVelocity, int decimals) |
| Returns the given vector value as a string with the given decimal count. More... | |
Protected Attributes | |
| const DtCoordinateSystem & | myCoordinateSystem |
| DtSharedSettingsManager & | mySharedSettingsManager |
Utility class for doing global unit conversion.
All conversions functions use the following naming conventions: convert{A}{B}{C}to{D}(); or convert{A}{B}{C}to{D}String(); Where {A} is the type of Unit Where {B} is the type of Conversion, for example Unit Where {C} is the Input conversion system, for example Native Where {D} is the Output conversion system, for example Display
Example: convertVelocityUnitNativeToDisplay() will take a velocity in Native units and convert it to a velocity in display units.
Unit types: Velocity, Acceleration, AccelerationMagnitude, Speed, Orientation, Distance, Altitude, Angle, HeadingPitchRoll, RotationalVelocity
Terms:
SystemAndUnit: The function will do both coordinate system and unit conversion.
Unit The function will only do unit conversion.
Native: Refers to VR-Vantage's native units. VR-Vantage's native units are Meters, Radians, Meter/Second, Meters/Second/Second the local coordinate system and all internal values are in native units.
Display: Refers to VR-Vantage's current Display units and current Display coordinate system.
Geocentric: Refers to values in the geocentric coordinate system. ALl units will be assumed to be native.
| typedef makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrv::DtDisplayUnitsConverter::CoordSys |
| typedef makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits makVrv::DtDisplayUnitsConverter::DistanceUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::VelocityUnits makVrv::DtDisplayUnitsConverter::VelocityUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::AccelerationUnits makVrv::DtDisplayUnitsConverter::AccelerationUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits makVrv::DtDisplayUnitsConverter::OrientationUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::RotVelocityUnits makVrv::DtDisplayUnitsConverter::RotVelocityUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::TemperatureUnits makVrv::DtDisplayUnitsConverter::TemperatureUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::PressureUnits makVrv::DtDisplayUnitsConverter::PressureUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::NorthUnits makVrv::DtDisplayUnitsConverter::NorthUnits |
| makVrv::DtDisplayUnitsConverter::DtDisplayUnitsConverter | ( | const DtCoordinateSystem & | cs, |
| DtSharedSettingsManager & | sm | ||
| ) |
| DtCoordinateDisplay* makVrv::DtDisplayUnitsConverter::currentCoordinateDisplay | ( | ) |
Get the current coordinate display.
| const DtCoordinateDisplay* makVrv::DtDisplayUnitsConverter::currentCoordinateDisplay | ( | ) | const |
Get the current coordinate display.
| CoordSys makVrv::DtDisplayUnitsConverter::currentCoordinateDisplaySystem | ( | ) | const |
| DistanceUnits makVrv::DtDisplayUnitsConverter::currentDistanceUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the distance unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| VelocityUnits makVrv::DtDisplayUnitsConverter::currentVelocityUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the velocity unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| OrientationUnits makVrv::DtDisplayUnitsConverter::currentOrientationUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the orientation unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| NorthUnits makVrv::DtDisplayUnitsConverter::currentNorthUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the north unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| AccelerationUnits makVrv::DtDisplayUnitsConverter::currentAccelerationUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the acceleration unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| RotVelocityUnits makVrv::DtDisplayUnitsConverter::currentRotationalVelocityUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the rotational velocity unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| TemperatureUnits makVrv::DtDisplayUnitsConverter::currentTemperatureUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the temperature unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| PressureUnits makVrv::DtDisplayUnitsConverter::currentPressureUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the pressure unit of measurement to use for a given display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| unsigned int makVrv::DtDisplayUnitsConverter::displayUnitUnit | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the unit of measurement to use for a display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| unsigned int makVrv::DtDisplayUnitsConverter::displayUnitDecimals | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the number of decimal places to use for a display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return 0 if a display unit collection OR display unit with the provided names cannot be found. |
| DtUnicode makVrv::DtDisplayUnitsConverter::displayUnitNotation | ( | const DtUnicode & | displayUnitCollectionName, |
| const DtUnicode & | displayUnitName | ||
| ) | const |
Returns the notation to use for a display unit.
| displayUnitCollectionName | The name of the collection the display unit is in |
| displayUnitName | The name of the display unit of interest The function will return an empty DtUnicode if a display unit collection OR display unit with the provided names cannot be found. |
| DtUnicode makVrv::DtDisplayUnitsConverter::distanceUnitNotation | ( | DistanceUnits | distUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::velocityUnitNotation | ( | VelocityUnits | velocityUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::orientationUnitNotation | ( | OrientationUnits | oriUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::accelerationUnitNotation | ( | AccelerationUnits | accelUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::rotationalVelocityUnitNotation | ( | RotVelocityUnits | wUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::temperatureUnitNotation | ( | TemperatureUnits | tempUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::pressureUnitNotation | ( | PressureUnits | pressureUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::northUnitNotation | ( | NorthUnits | wUnit | ) | const |
| void makVrv::DtDisplayUnitsConverter::coordinateSystemLabels | ( | DtUnicode & | x, |
| DtUnicode & | y, | ||
| DtUnicode & | z | ||
| ) |
Gets the coordinate system labels for the current coordinate system.
| void makVrv::DtDisplayUnitsConverter::coordinateSystemLabels | ( | CoordSys | coordSystem, |
| DtUnicode & | x, | ||
| DtUnicode & | y, | ||
| DtUnicode & | z | ||
| ) |
Gets the coordinate system labels for the given coordinate system.
| void makVrv::DtDisplayUnitsConverter::regularExpressionValidators | ( | std::string & | x, |
| std::string & | y, | ||
| std::string & | z | ||
| ) |
Gets the regex validators for the current coordinate system.
| void makVrv::DtDisplayUnitsConverter::regularExpressionValidators | ( | CoordSys | cs, |
| std::string & | x, | ||
| std::string & | y, | ||
| std::string & | z | ||
| ) |
Gets the regex validators for the given coordinate system.
| std::vector<DtUnicode> makVrv::DtDisplayUnitsConverter::convertPositionToNotatedStringList | ( | CoordSys | coordSys, |
| const DtVector & | pos, | ||
| DistanceUnits | coordinateSystemUnit, | ||
| unsigned int | coordinateSystemDecimals, | ||
| DistanceUnits | altitudeUnit, | ||
| unsigned int | altitudeDecimals | ||
| ) |
Convert the geocentric position to a vector of notated strings.
| coordSys | The coordinate system to use for the conversion |
| pos | The position to get the display string for |
| std::vector<DtUnicode> makVrv::DtDisplayUnitsConverter::convertPositionToNotatedStringList | ( | const DtVector & | pos, |
| DistanceUnits | coordinateSystemUnit, | ||
| unsigned int | coordinateSystemDecimals, | ||
| DistanceUnits | altitudeUnit, | ||
| unsigned int | altitudeDecimals | ||
| ) | const |
Convert the geocentric position to a vector of notated strings.
| pos | The position to get the display string for |
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertPositionToStringList | ( | CoordSys | coordSys, |
| const DtVector & | pos, | ||
| DistanceUnits | coordinateSystemUnit, | ||
| unsigned int | coordinateSystemDecimals, | ||
| DistanceUnits | altitudeUnit, | ||
| unsigned int | altitudeDecimals | ||
| ) |
Converts the given position to list of strings in the given units and decimals.
Performs the conversion for the given coordinate system (coordSys)
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertPositionToStringList | ( | const DtVector & | pos, |
| DistanceUnits | coordinateSystemUnit, | ||
| unsigned int | coordinateSystemDecimals, | ||
| DistanceUnits | altitudeUnit, | ||
| unsigned int | altitudeDecimals | ||
| ) | const |
Converts the given position to list of strings in the given units and decimals.
Performs the conversion for the current coordinate system.
| double makVrv::DtDisplayUnitsConverter::convertAngleUnitNativeToDisplay | ( | double | angle, |
| OrientationUnits | unit | ||
| ) | const |
Converts the angle to the current orientation units.
| double makVrv::DtDisplayUnitsConverter::convertAngleUnitDisplayToNative | ( | double | angle, |
| OrientationUnits | unit | ||
| ) | const |
Converts the angle from the current units to radians.
| std::string makVrv::DtDisplayUnitsConverter::convertAngleUnitNativeToDisplayString | ( | double | angle, |
| OrientationUnits | unit, | ||
| unsigned int | decimals, | ||
| bool | additionalFormatting = false |
||
| ) | const |
Formats the provided angle as a string with the specified orientation units and decimal places.
Additional formatting can be applied only when unit is equal to OrientationUnits::UnitsDegrees.
| angle | The angle to convert to a string |
| unit | The unit of measurement the resulting string will be expressed in |
| decimals | The number of decimal places to use in the resulting string |
| additionalFormatting | Whether or not to use additional formatting in the resulting string |
| DtUnicode makVrv::DtDisplayUnitsConverter::convertAngleUnitNativeToNotatedDisplayString | ( | double | angle, |
| OrientationUnits | unit, | ||
| unsigned int | decimals, | ||
| bool | additionalFormatting = false |
||
| ) | const |
Formats the provided angle as a string with the specified orientation units, decimal places, and unit notation.
Additional formatting can be applied only when unit is equal to OrientationUnits::UnitsDegrees.
| angle | The angle to convert to a string |
| unit | The unit of measurement the resulting string will be expressed in |
| decimals | The number of decimal places to use in the resulting string |
| additionalFormatting | Whether or not to use additional formatting in the resulting string |
| double makVrv::DtDisplayUnitsConverter::convertHeadingUnitNativeToDisplay | ( | const DtVector & | geocLoc, |
| double | heading, | ||
| NorthUnits | unit, | ||
| bool | convertDisplayToDegrees = true |
||
| ) | const |
Converts the heading to the specified North unit.
| geocLoc | The geocentric location the heading is relative to |
| heading | The heading to convert |
| unit | The North Unit the resulting heading will be expressed in |
| convertDisplayToDegrees | Whether or not to convert to degrees before returning Native is True North. The heading parameter is assumed to be in radians and, by default, the returned display value is in degrees (since convertDisplayToDegrees is true). |
| double makVrv::DtDisplayUnitsConverter::convertHeadingUnitDisplayToNative | ( | const DtVector & | geocLoc, |
| double | heading, | ||
| NorthUnits | unit, | ||
| bool | convertNativeToRadians = true |
||
| ) | const |
Converts the heading from the specified North Unit to True North.
| geocLoc | The geocentric location the heading is relative to |
| heading | The heading to convert |
| unit | The North Unit the resulting heading will be expressed in |
| convertNativeToRadians | Whether or not to convert to radians before returning Native is True North. The heading parameter is assumed to be in degrees and, by default, the returned native value is in radians (since convertNativeToRadians is true). |
| double makVrv::DtDisplayUnitsConverter::convertLocationToDeclination | ( | const DtVector & | geocLoc | ) | const |
Converts the geocentric location to declination.
| geocLoc | The geocentric location to compute the declination at. |
| DtUnicode makVrv::DtDisplayUnitsConverter::convertHeadingUnitNativeToNotatedDisplayString | ( | const DtVector & | geocLoc, |
| double | heading, | ||
| NorthUnits | unit | ||
| ) | const |
Formats the provided heading as a notated string with the specified North Unit.
| geocLoc | The geocentric location the heading is relative to |
| heading | The heading to convert to a string |
| unit | The North Unit the resulting string will be expressed in Native is True North. The heading parameter is assumed to be in radians. The resulting string will always be expressed in degrees with 0 decimal places along with additional formatting described in orientationValueToText(...) |
| double makVrv::DtDisplayUnitsConverter::convertDistanceUnitNativeToDisplay | ( | double | distance, |
| DistanceUnits | unit | ||
| ) | const |
Converts the distance to the current distance units.
| double makVrv::DtDisplayUnitsConverter::convertDistanceUnitDisplayToNative | ( | double | distance, |
| DistanceUnits | unit | ||
| ) | const |
Converts the distance from the current units to meters.
| std::string makVrv::DtDisplayUnitsConverter::convertDistanceUnitNativeToDisplayString | ( | double | dist, |
| DistanceUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the distance to the current distance units.
Formats the converted value as a string with the correct precision.
| DtUnicode makVrv::DtDisplayUnitsConverter::convertDistanceUnitNativeToNotatedDisplayString | ( | double | dist, |
| DistanceUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the distance to the current distance units with unit notation included.
Formats the converted value as a string with the correct precision.
| DtVector makVrv::DtDisplayUnitsConverter::convertVelocityUnitNativeToDisplay | ( | const DtVector & | vel, |
| VelocityUnits | unit | ||
| ) | const |
Converts the altitude to the current altitude units.
| DtVector makVrv::DtDisplayUnitsConverter::convertVelocityUnitDisplayToNative | ( | const DtVector & | vel, |
| VelocityUnits | unit | ||
| ) | const |
Converts the velocity from the current velocity units to the native units.
| DtVector makVrv::DtDisplayUnitsConverter::convertVelocitySystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | geocVel, | ||
| VelocityUnits | unit | ||
| ) | const |
Converts the geocentric velocity to the current display coordinate system and the current display units.
| std::string makVrv::DtDisplayUnitsConverter::convertVelocityUnitNativeToDisplayString | ( | const DtVector & | vel, |
| VelocityUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the velocity to the current display units.
Formats the converted value as a string with the correct precision.
| std::string makVrv::DtDisplayUnitsConverter::convertVelocitySystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | geocVel, | ||
| VelocityUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the geocentric velocity to the current display coordinate system and the current display units.
Formats the converted value as a string with the correct precision.
| DtVector makVrv::DtDisplayUnitsConverter::convertAccelerationUnitNativeToDisplay | ( | const DtVector & | accel, |
| AccelerationUnits | unit | ||
| ) | const |
Converts the acceleration to the current acceleration units.
| DtVector makVrv::DtDisplayUnitsConverter::convertAccelerationUnitDisplayToNative | ( | const DtVector & | accel, |
| AccelerationUnits | unit | ||
| ) | const |
Converts the acceleration from the current acceleration units to the native units.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationUnitNativeToDisplayString | ( | const DtVector & | accel, |
| AccelerationUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| DtVector makVrv::DtDisplayUnitsConverter::convertAccelerationSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | accel, | ||
| AccelerationUnits | unit | ||
| ) | const |
Converts the acceleration to the current acceleration units.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationSystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | accel, | ||
| AccelerationUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| DtTaitBryan makVrv::DtDisplayUnitsConverter::convertOrientationUnitNativeToDisplay | ( | const DtTaitBryan & | ori, |
| OrientationUnits | unit | ||
| ) | const |
Converts the orientation to the current orientation units.
| DtTaitBryan makVrv::DtDisplayUnitsConverter::convertOrientationUnitDisplayToNative | ( | const DtTaitBryan & | ori, |
| OrientationUnits | unit | ||
| ) | const |
Converts the orientation from the current units to radians.
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertOrientationUnitNativeToDisplayStrings | ( | const DtTaitBryan & | ori, |
| OrientationUnits | unit, | ||
| unsigned int | decimals, | ||
| NorthUnits | northUnit, | ||
| bool | formatPsi = false, |
||
| bool | formatTheta = false, |
||
| bool | formatPhi = false |
||
| ) | const |
Converts the orientation to the current orientation units.
Formats the converted value as a string with the correct precision. Additional formatting can be applied only when unit is equal to OrientationUnits::UnitsDegrees.
| ori | The orientation to convert to a display string |
| unit | The unit of measurement the resulting display string will use |
| decimals | The number of decimal places the resulting display string will use |
| northUnit | The north unit of measurement the resulting display string will use |
| formatPsi | Whether or not to apply additional formatting to the psi component |
| formatTheta | Whether or not to apply additional formatting to the theta component |
| formatPhi | Whether or not to apply additional formatting to the phi component |
| std::vector<DtUnicode> makVrv::DtDisplayUnitsConverter::convertOrientationUnitNativeToNotatedDisplayStrings | ( | const DtTaitBryan & | ori, |
| OrientationUnits | unit, | ||
| unsigned int | decimals, | ||
| NorthUnits | northUnit, | ||
| bool | formatPsi = false, |
||
| bool | formatTheta = false, |
||
| bool | formatPhi = false |
||
| ) | const |
Converts the orientation to the current orientation units.
Formats the converted value as a notated string with the correct precision. Additional formatting can be applied only when unit is equal to OrientationUnits::UnitsDegrees.
| ori | The orientation to convert to a display string |
| unit | The unit of measurement the resulting display string will use |
| decimals | The number of decimal places the resulting display string will use |
| northUnit | The north unit of measurement the resulting display string will use |
| formatPsi | Whether or not to apply additional formatting to the psi component |
| formatTheta | Whether or not to apply additional formatting to the theta component |
| formatPhi | Whether or not to apply additional formatting to the phi component |
| DtVector makVrv::DtDisplayUnitsConverter::convertRotationalVelocityUnitNativeToDisplay | ( | const DtVector & | rotVel, |
| RotVelocityUnits | unit | ||
| ) | const |
Converts the rotational velocity to the rotVel units.
| DtVector makVrv::DtDisplayUnitsConverter::convertRotationalVelocityUnitDisplayToNative | ( | const DtVector & | rotVel, |
| RotVelocityUnits | unit | ||
| ) | const |
Converts the rotational velocity to the rotVel units.
| std::string makVrv::DtDisplayUnitsConverter::convertRotationalVelocityUnitNativeToDisplayString | ( | const DtVector & | rotVel, |
| RotVelocityUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the rotational velocity to the rotVel units.
| DtVector makVrv::DtDisplayUnitsConverter::convertRotationalVelocitySystemAndUnitGeocentricToDisplay | ( | const DtVector & | rotVel, |
| RotVelocityUnits | unit | ||
| ) | const |
Converts the rotational velocity to the rotVel units.
| std::string makVrv::DtDisplayUnitsConverter::convertRotationalVelocitySystemAndUnitGeocentricToDisplayString | ( | const DtVector & | rotVel, |
| RotVelocityUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the rotational velocity to the rotVel units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplay | ( | const DtVector & | velocity, |
| VelocityUnits | unit | ||
| ) | const |
Converts the speed to the current velocity units.
| double makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplay | ( | double | speed, |
| VelocityUnits | unit | ||
| ) | const |
Converts the speed to the current velocity units.
| double makVrv::DtDisplayUnitsConverter::convertSpeedUnitDisplayToNative | ( | double | speed, |
| VelocityUnits | unit | ||
| ) | const |
Converts the speed to the current velocity units.
| double makVrv::DtDisplayUnitsConverter::convertSpeedSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | velocity, | ||
| VelocityUnits | unit | ||
| ) | const |
Converts the speed to the current velocity units.
| std::string makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplayString | ( | const DtVector & | velocity, |
| VelocityUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the speed to the current velocity units.
Formats the converted value as a string with the correct precision.
| std::string makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplayString | ( | double | speed, |
| VelocityUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the speed to the current velocity units.
Formats the converted value as a string with the correct precision.
| std::string makVrv::DtDisplayUnitsConverter::convertSpeedSystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | velocity, | ||
| VelocityUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the speed to the current velocity units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplay | ( | const DtVector & | accel, |
| AccelerationUnits | unit | ||
| ) | const |
Converts the acceleration magnitude to the current acceleration units.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplay | ( | double | accel, |
| AccelerationUnits | unit | ||
| ) | const |
Converts the acceleration magnitude to the current acceleration units.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitDisplayToNative | ( | double | acc, |
| AccelerationUnits | unit | ||
| ) | const |
Converts the acceleration from the current units to m/s^2.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplayString | ( | const DtVector & | accel, |
| AccelerationUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplayString | ( | double | accel, |
| AccelerationUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | accel, | ||
| AccelerationUnits | unit | ||
| ) | const |
Converts the acceleration magnitude to the current acceleration units.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | accel, | ||
| AccelerationUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Converts the acceleration magnitude to the current acceleration units.
| DtTaitBryan makVrv::DtDisplayUnitsConverter::convertHeadingPitchRollSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtTaitBryan & | geocOri, | ||
| OrientationUnits | unit | ||
| ) | const |
Converts the orientation to HPR in the current orientation units.
| std::vector<DtUnicode> makVrv::DtDisplayUnitsConverter::convertHeadingPitchRollSystemAndUnitGeocentricToNotatedDisplayStrings | ( | const DtVector & | geocLoc, |
| const DtTaitBryan & | geocOri, | ||
| OrientationUnits | unit, | ||
| unsigned int | decimals, | ||
| NorthUnits | northUnit, | ||
| bool | formatHeading = false, |
||
| bool | formatPitch = false, |
||
| bool | formatRoll = false |
||
| ) | const |
Converts the orientation to HPR strings.
Gets the HPR for the orientation with unit notation included. Degrees are displayed with 3 digits.
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertHeadingPitchRollSystemAndUnitGeocentricToDisplayStrings | ( | const DtVector & | geocLoc, |
| const DtTaitBryan & | geocOri, | ||
| OrientationUnits | unit, | ||
| unsigned int | decimals, | ||
| NorthUnits | northUnit, | ||
| bool | formatHeading = false, |
||
| bool | formatPitch = false, |
||
| bool | formatRoll = false |
||
| ) | const |
Converts the orientation to Heading, Pitch, and Roll strings.
Additional formatting can be applied only when unit is equal to OrientationUnits::UnitsDegrees.
| geocLoc | The geocentric location the geocentric orientation is relative to |
| geocOri | The geocentric orientation to convert to a display string |
| unit | The unit of measurement the resulting display string will use |
| decimals | The number of decimal places the resulting display string will use |
| northUnit | The north unit of measurement the resulting display string will use |
| formatHeading | Whether or not to apply additional formatting to the psi component |
| formatPitch | Whether or not to apply additional formatting to the theta component |
| formatRoll | Whether or not to apply additional formatting to the phi component |
| double makVrv::DtDisplayUnitsConverter::convertTemperatureUnitNativeToDisplay | ( | double | temperature, |
| TemperatureUnits | unit | ||
| ) | const |
Converts the value from Kelvins to the passed in unit of measurement.
| double makVrv::DtDisplayUnitsConverter::convertTemperatureUnitDisplayToNative | ( | double | temperature, |
| TemperatureUnits | unit | ||
| ) | const |
Converts the value from the passed in unit of measurement to Kelvins.
| std::string makVrv::DtDisplayUnitsConverter::convertTemperatureUnitNativeToDisplayString | ( | double | temperature, |
| TemperatureUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Returns a string that represents the passed in value using the passed in unit of measurement and number of decimal places.
| double makVrv::DtDisplayUnitsConverter::convertPressureUnitNativeToDisplay | ( | double | pressure, |
| PressureUnits | unit | ||
| ) | const |
Converts the value from Pascals to the passed in unit of measurement.
| double makVrv::DtDisplayUnitsConverter::convertPressureUnitDisplayToNative | ( | double | pressure, |
| PressureUnits | unit | ||
| ) | const |
Converts the value from the passed in unit of measurement to Pascals.
| std::string makVrv::DtDisplayUnitsConverter::convertPressureUnitNativeToDisplayString | ( | double | pressure, |
| PressureUnits | unit, | ||
| unsigned int | decimals | ||
| ) | const |
Returns a string that represents the passed in value using the passed in unit of measurement and number of decimal places.
|
staticprotected |
Returns the passed in orientation value, expected to be in degrees, as a string with the given decimal count.
If additional formatting is used, the integral portion of the double value will always be displayed with 3 digits. The value is normalized between +001 and +360 (000 will be displayed as 360) except in cases where the resulting string has a non-zero fractional portion. For example,
|
staticprotected |
Returns the given values, expected to be in degrees, as a string with the given decimal count.
Appends the 3 values in the vector using a single space to separate them. If additional formatting is used, the integral portion of the double value will always be displayed with 3 digits. The value is normalized between +001 and +360 (000 will be displayed as 360) except in cases where the resulting string has a non-zero fractional portion. For example,
|
staticprotected |
Returns the given double value as a string with the given decimal count.
|
staticprotected |
Returns the given vector value as a string with the given decimal count.
Appends the 3 values in the vector using a single space to separate them.
|
protected |
|
protected |