< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Fields
A3DRWParamsTessellationData Struct Reference

Structure to set the tessellation parameters. More...

Data Fields

A3DUns16 m_usStructSize
 
A3DETessellationLevelOfDetail m_eTessellationLevelOfDetail
 
A3DDouble m_dChordHeightRatio
 
A3DDouble m_dAngleToleranceDeg
 
A3DDouble m_dMinimalTriangleAngleDeg
 
A3DDouble m_dMaxChordHeight
 
A3DBool m_bAccurateTessellation
 
A3DBool m_bDoNotComputeNormalsInAccurateTessellation
 
A3DBool m_bKeepUVPoints
 
A3DBool m_bUseHeightInsteadOfRatio
 
A3DDouble m_dMaximalTriangleEdgeLength
 

Detailed Description

Structure to set the tessellation parameters.

Version
3.0

Field Documentation

A3DUns16 A3DRWParamsTessellationData::m_usStructSize

Reserved; must be initialized by A3D_INITIALIZE_DATA.

A3DETessellationLevelOfDetail A3DRWParamsTessellationData::m_eTessellationLevelOfDetail

Enum to specify predefined values for some following members.

A3DDouble A3DRWParamsTessellationData::m_dChordHeightRatio

Specifies the percentage of bounding box used to compute chord height. Set a value from 50 through 10,000.

A3DDouble A3DRWParamsTessellationData::m_dAngleToleranceDeg

Specifies the maximum angle between two contiguous segments of wire edges for every face. The value must be from 10 through 40.

A3DDouble A3DRWParamsTessellationData::m_dMinimalTriangleAngleDeg

Specifies the angle between two contiguous segments of wire edges for every face. Allowable values range from 10 through 30.

A3DDouble A3DRWParamsTessellationData::m_dMaxChordHeight

Specifies the maximum distance between surface and tessellation. Be careful, a too small value can generate a huge tessellation.

A3DBool A3DRWParamsTessellationData::m_bAccurateTessellation

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.

A3DBool A3DRWParamsTessellationData::m_bDoNotComputeNormalsInAccurateTessellation

Do not compute surface normals in accurate tessellation.

A3DBool A3DRWParamsTessellationData::m_bKeepUVPoints

Keep parametric points as texture points.

A3DBool A3DRWParamsTessellationData::m_bUseHeightInsteadOfRatio
A3DDouble A3DRWParamsTessellationData::m_dMaximalTriangleEdgeLength

Maximal length of the edges of triangles. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation.