Data Structures

struct  A3DSurfRevolutionData
 Revolution structure. More...
 

Functions

A3DStatus A3DSurfRevolutionCreate (const A3DSurfRevolutionData *pData, A3DSurfRevolution **ppSrf)
 Creates an A3DSurfRevolution from an A3DSurfRevolutionData structure. More...
 
A3DStatus A3DSurfRevolutionGet (const A3DSurfRevolution *pSrf, A3DSurfRevolutionData *pData)
 Populates the A3DSurfRevolutionData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeSurfRevolution.

For the canonical definition and corresponding parametric equation, see the "SerializeRevolution" section of the PRC Format Specification.

A3DUVParameterizationData allows for reparameterization and trim.

Function Documentation

◆ A3DSurfRevolutionGet()

A3DStatus A3DSurfRevolutionGet ( const A3DSurfRevolution pSrf,
A3DSurfRevolutionData pData 
)

Populates the A3DSurfRevolutionData 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

◆ A3DSurfRevolutionCreate()

A3DStatus A3DSurfRevolutionCreate ( const A3DSurfRevolutionData pData,
A3DSurfRevolution **  ppSrf 
)

Creates an A3DSurfRevolution from an A3DSurfRevolutionData 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_SUCCESS