![]() |
|
Schema and utilities for encoding various spatial and geometric metrics of a UsdStage and its contents. More...
Go to the source code of this file.
Classes | |
class | UsdGeomLinearUnits |
Container class for static double-precision symbols representing common units of measure expressed in meters. More... | |
Functions | |
USDGEOM_API TfToken | UsdGeomGetStageUpAxis (const UsdStageWeakPtr &stage) |
Fetch and return stage 's upAxis. More... | |
USDGEOM_API bool | UsdGeomSetStageUpAxis (const UsdStageWeakPtr &stage, const TfToken &axis) |
Set stage 's upAxis to axis , which must be one of UsdGeomTokens->y or UsdGeomTokens->z. More... | |
USDGEOM_API TfToken | UsdGeomGetFallbackUpAxis () |
Return the site-level fallback up axis as a TfToken. More... | |
USDGEOM_API double | UsdGeomGetStageMetersPerUnit (const UsdStageWeakPtr &stage) |
Return stage's authored metersPerUnit, or 0.01 if unauthored. More... | |
USDGEOM_API bool | UsdGeomStageHasAuthoredMetersPerUnit (const UsdStageWeakPtr &stage) |
Return whether stage has an authored metersPerUnit. More... | |
USDGEOM_API bool | UsdGeomSetStageMetersPerUnit (const UsdStageWeakPtr &stage, double metersPerUnit) |
Author stage's metersPerUnit. More... | |
USDGEOM_API bool | UsdGeomLinearUnitsAre (double authoredUnits, double standardUnits, double epsilon=1e-5) |
Return true if the two given metrics are within the provided relative epsilon of each other, when you need to know an absolute metric rather than a scaling factor. More... | |