All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
UsdGeomLinearUnits Class Reference

Container class for static double-precision symbols representing common units of measure expressed in meters. More...

#include <metrics.h>

Static Public Attributes

static constexpr double nanometers = 1e-9
 
static constexpr double micrometers = 1e-6
 
static constexpr double millimeters = 0.001
 
static constexpr double centimeters = 0.01
 
static constexpr double meters = 1.0
 
static constexpr double kilometers = 1000
 
static constexpr double lightYears = 9.4607304725808e15
 Measured for one year = 365.25 days.
 
static constexpr double inches = 0.0254
 
static constexpr double feet = 0.3048
 
static constexpr double yards = 0.9144
 
static constexpr double miles = 1609.344
 

Detailed Description

Container class for static double-precision symbols representing common units of measure expressed in meters.

See also
Encoding Stage Linear Units

Definition at line 180 of file metrics.h.

Member Data Documentation

◆ centimeters

constexpr double centimeters = 0.01
staticconstexpr

Definition at line 185 of file metrics.h.

◆ feet

constexpr double feet = 0.3048
staticconstexpr

Definition at line 193 of file metrics.h.

◆ inches

constexpr double inches = 0.0254
staticconstexpr

Definition at line 192 of file metrics.h.

◆ kilometers

constexpr double kilometers = 1000
staticconstexpr

Definition at line 187 of file metrics.h.

◆ lightYears

constexpr double lightYears = 9.4607304725808e15
staticconstexpr

Measured for one year = 365.25 days.

Definition at line 190 of file metrics.h.

◆ meters

constexpr double meters = 1.0
staticconstexpr

Definition at line 186 of file metrics.h.

◆ micrometers

constexpr double micrometers = 1e-6
staticconstexpr

Definition at line 183 of file metrics.h.

◆ miles

constexpr double miles = 1609.344
staticconstexpr

Definition at line 195 of file metrics.h.

◆ millimeters

constexpr double millimeters = 0.001
staticconstexpr

Definition at line 184 of file metrics.h.

◆ nanometers

constexpr double nanometers = 1e-9
staticconstexpr

Definition at line 182 of file metrics.h.

◆ yards

constexpr double yards = 0.9144
staticconstexpr

Definition at line 194 of file metrics.h.


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