WPILibC++ 2023.4.3
length.h File Reference
#include "units/base.h"

Go to the source code of this file.

Namespaces

namespace  units
 Unit Conversion Library namespace.
 
namespace  units::length
 namespace for unit types and containers representing length values
 

Functions

 units::UNIT_ADD_WITH_METRIC_PREFIXES (length, meter, meters, m, unit< std::ratio< 1 >, units::category::length_unit >) UNIT_ADD(length
 
unit< std::ratio< 1852 >, meters > units::UNIT_ADD (length, astronicalUnit, astronicalUnits, au, unit< std::ratio< 149597870700 >, meters >) UNIT_ADD(length
 
unit< std::ratio< 1852 >, meters > unit< std::ratio< 9460730472580800 >, meters > units::UNIT_ADD (length, parsec, parsecs, pc, unit< std::ratio< 648000 >, astronicalUnits, std::ratio<-1 > >) UNIT_ADD(length
 
unit< std::ratio< 1852 >, meters > unit< std::ratio< 9460730472580800 >, meters > unit< std::ratio< 1, 10 >, nanometers > units::UNIT_ADD (length, nauticalLeague, nauticalLeagues, nl, unit< std::ratio< 3 >, nauticalMiles >) using namespace length
 

Variables

 units::nauticalMile
 
 units::nauticalMiles
 
 units::nmi
 
unit< std::ratio< 1852 >, meters > units::lightyear
 
unit< std::ratio< 1852 >, meters > units::lightyears
 
unit< std::ratio< 1852 >, meters > units::ly
 
unit< std::ratio< 1852 >, meters > unit< std::ratio< 9460730472580800 >, meters > units::angstrom
 
unit< std::ratio< 1852 >, meters > unit< std::ratio< 9460730472580800 >, meters > units::angstroms