SF2 C++ FRC Class Library
Sensor Fusion Framework (SF2) for FRC
Public Member Functions | Static Public Attributes | List of all members
Distance::Feet Class Reference
Inheritance diagram for Distance::Feet:
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 INCHES_PER_FOOT = 12.0f
 
static constexpr float METERS_PER_FOOT
 
static constexpr float FEET_PER_METER = 1.0f / METERS_PER_FOOT
 

Member Data Documentation

constexpr float Distance::Feet::METERS_PER_FOOT
static
Initial value:
= Inches::METERS_PER_INCH
* INCHES_PER_FOOT

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