SF2 C++ FRC Class Library
Sensor Fusion Framework (SF2) for FRC
Public Member Functions | Static Public Attributes | List of all members
Distance::Millimeters Class Reference
Inheritance diagram for Distance::Millimeters:
Distance::DistanceUnit IUnit Unit IUnitDescendant

Public Member Functions

string getName ()
 
string getAbbreviation ()
 
float convertToPrimaryUnits (float value)
 
float convertFromPrimaryUnits (float value)
 
- Public Member Functions inherited from Distance::DistanceUnit
IUnitFamilygetUnitFamily ()
 
- Public Member Functions inherited from Unit
float convertToPrimaryUnits (float value)
 
float convertFromPrimaryUnits (float value)
 

Static Public Attributes

static constexpr float MILLIMETERS_PER_METER = 1000.0f
 
static constexpr float METERS_PER_MILLIMETER = 1.0f / 1000.0f
 

The documentation for this class was generated from the following file: