24 #ifndef PXR_USD_USD_GEOM_METRICS_H
25 #define PXR_USD_USD_GEOM_METRICS_H
170 double metersPerUnit);
191 double epsilon = 1e-5);
210 static constexpr
double feet = 0.3048;
211 static constexpr
double yards = 0.9144;
212 static constexpr
double miles = 1609.344;
219 #endif // PXR_USD_USD_GEOM_METRICS_H
static constexpr double nanometers
USDGEOM_API bool UsdGeomStageHasAuthoredMetersPerUnit(const UsdStageWeakPtr &stage)
static constexpr double centimeters
static constexpr double miles
UsdStagePtr UsdStageWeakPtr
USDGEOM_API TfToken UsdGeomGetStageUpAxis(const UsdStageWeakPtr &stage)
static constexpr double micrometers
static constexpr double feet
static constexpr double inches
static constexpr double lightYears
Measured for one year = 365.25 days.
USDGEOM_API bool UsdGeomLinearUnitsAre(double authoredUnits, double standardUnits, double epsilon=1e-5)
static constexpr double kilometers
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static constexpr double yards
USDGEOM_API bool UsdGeomSetStageUpAxis(const UsdStageWeakPtr &stage, const TfToken &axis)
#define PXR_NAMESPACE_CLOSE_SCOPE
static constexpr double millimeters
USDGEOM_API bool UsdGeomSetStageMetersPerUnit(const UsdStageWeakPtr &stage, double metersPerUnit)
static constexpr double meters
USDGEOM_API TfToken UsdGeomGetFallbackUpAxis()
USDGEOM_API double UsdGeomGetStageMetersPerUnit(const UsdStageWeakPtr &stage)