A3DRiRepresentationItemComputeTessellation
-
A3DStatus
A3DRiRepresentationItemComputeTessellation(A3DRiRepresentationItem *pRi, const A3DRWParamsTessellationData *pTessellationParametersData) A3DStatusA3DRiRepresentationItemComputeTessellation(A3DRiRepresentationItem* pRi, constA3DRWParamsTessellationData* pTessellationParametersData)Calculates the tessellation of a previously created
A3DRiRepresentationItemwith anA3DRWParamsTessellationDataparameters.4.0Return Values
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_SET_INCONSISTENT_EMPTY:
A3D_INVALID_ENTITY_TYPE:
A3D_SUCCESS:
If the
A3DRiRepresentationItementity has already been tessellated, the previous tessellation will be replaced by the new one.The input representation item must be one of the following entity types:
kA3DTypeRiBrepModel,kA3DTypeRiCurve,kA3DTypeDrawingBlockBasic, orkA3DTypeDrawingBlockOperator.For any other entity type, this function returns
A3D_INVALID_ENTITY_TYPE.Returns
A3D_SUCCESSon success, or an error code on failure