SmTessellationDefaults#

namespace SmTessellationDefaults#

FILE NAME — SmApiTessellationParams.h PURPOSE: Tessellation quality controls and their shared defaults.

Self-contained, so code that only needs the parameters does not pull in the kernel headers of SmApiBrep.h. Default tessellation quality, shared by the C++ API, the Python bindings and hdUsdBrep.

Variables Summary#

constexpr double kChordHeightTol

0 = ignore; absolute world units, so scale-dependent

constexpr double kCurveAngleTolDeg

0 = ignore

constexpr double kMaxAspectRatio

0 = ignore

constexpr double kMaxEdgeLength

0 = ignore; edge-length subdivision target in world units, not a hard cap (final triangle edges can be somewhat longer); negative selects a model-relative target of 0.025*|value|*bbox-diagonal

constexpr double kSurfaceAngleTolDeg

0 = ignore