Tessellation for solids and surfaces. More...

Modules

 TessFace
 Functions and structures for defining tessellation face data.
 

Data Structures

struct  A3DTess3DData
 Structure used to create or parse an A3DTess3D entity. More...
 

Functions

A3DStatus A3DTess3DCreate (const A3DTess3DData *pData, A3DTess3D **ppTess)
 Creates an A3DTess3D from an A3DTess3DData structure. More...
 
A3DStatus A3DTess3DGet (const A3DTess3D *pTess, A3DTess3DData *pData)
 Populates the A3DTess3DData structure. More...
 

Detailed Description

Tessellation for solids and surfaces.

Entity type is kA3DTypeTess3D.

An A3DTess3D is a tessellation dedicated to solids and surfaces. This structure is a derivation of A3DTessBase and can be obtained by using the A3DTessBaseGet function on any A3DRiRepresentationItem. This structure may contain collections of points that define mesh vertices, normals (per vertex, per entity), and UV coordinates if textures are stored.

Function Documentation

◆ A3DTess3DGet()

A3DStatus A3DTess3DGet ( const A3DTess3D pTess,
A3DTess3DData pData 
)

Populates the A3DTess3DData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_ENTITY_NULL
A3D_INVALID_ENTITY_TYPE
A3D_SUCCESS

◆ A3DTess3DCreate()

A3DStatus A3DTess3DCreate ( const A3DTess3DData pData,
A3DTess3D **  ppTess 
)

Creates an A3DTess3D from an A3DTess3DData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_TESS3D_NORMALS_INCONSISTENT_DATA
A3D_TESS3D_NORMALS_BAD_SIZE
A3D_TESS3D_FACE_INCONSISTENT_DATA
A3D_TESSFACE_TRIANGULATED_INCONSISTENT_DATA
A3D_TESSFACE_TRIANGULATED_INCONSISTENT_EMPTY
A3D_TESSFACE_USEDENTITIES_BAD_TYPE
A3D_TESSFACE_STARTTRIANGULATED_INCONSISTENT_DATA
A3D_TESSFACE_STARTWIRE_INCONSISTENT_DATA
A3D_TESSFACE_STYLEINDEXESSIZE_INCONSISTENT_DATA
A3D_TESSFACE_RGBAVERTICESSIZE_INCONSISTENT_DATA
A3D_SUCCESS