HTessellationSettings
-
class
HTessellationSettings Specifies the settings of tessellation in Import.
Enumerations
Methods
-
HTessellationSettings::HTessellationSettings()
Variables
-
HTessellationLOD
HTessellationSettings::m_TessLod
-
double
HTessellationSettings::m_dChordHeightRatio - double
Specifies the ratio of the diagonal length of the bounding box to the chord height. A value of 50 means that the diagonal of the bounding box is 50 times greater than the chord height. Values can range from 50 to 10,000. Higher values will generate more accurate tessellation.
-
double
HTessellationSettings::m_dAngleToleranceDeg - double
Specifies the maximum angle between two contiguous tessellation segments describing the curve of a topological edge for every face. During tessellation, the curve describing the edge of a topological face will be approximated using straight line segments. m_dAngleToleranceDeg is the maximum angle between two consecutive segments. Allowable values range from 10 to 40. Lower values will result in greater accuracy.
-
double
HTessellationSettings::m_dMaxChordHeight - double
Specifies the maximum distance between the original geometric surface specified in the CAD file and the resulting tessellation. Be careful, very small values can generate very large tessellation files. Conversely, very large values can generate inaccurate tessellation. In such cases, it may be better to use the
m_dChordHeightRatiomember to scale this value relative to the object that’s being tessellated.m_dMaxChordHeightis ignored ifm_bUseHeightInsteadOfRatioisn’t set to true.
-
bool
HTessellationSettings::m_bAccurateTessellation - bool
Accurate tessellation. Uses standard parameters. ‘false’ indicates the tessellation is set for visualization. Setting this value to ‘true’ will generate tessellation more suited for analysis. Can be used with all TessellationLevelOfDetails.
-
bool
HTessellationSettings::m_bDoNotComputeNormalsInAccurateTessellation - bool
Do not compute surface normals in accurate tessellation.
-
bool
HTessellationSettings::m_bAccurateTessellationWithGrid - bool
Enable accurate tessellation with faces inner points on a grid.
-
double
HTessellationSettings::m_dAccurateTessellationWithGridMaximumStitchLength - double
Maximal grid stitch length. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation.
-
bool
HTessellationSettings::m_bKeepUVPoints - bool
Keep parametric points as texture points.
-
bool
HTessellationSettings::m_bUseHeightInsteadOfRatio - bool
Use
m_dMaxChordHeightinstead ofm_dChordHeightRatioif m_eTessellationLevelOfDetail = kA3DTessLODUserDefined.
-
double
HTessellationSettings::m_dMaximalTriangleEdgeLength - double
Maximal length of the edges of triangles. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation.