Data Structures

struct  A3DSurfTorusData
 Structure for defining toric surfaces. More...
 

Functions

A3DStatus A3DSurfTorusCreate (const A3DSurfTorusData *pData, A3DSurfTorus **ppSrf)
 Creates an A3DSurfTorus from an A3DSurfTorusData structure. More...
 
A3DStatus A3DSurfTorusGet (const A3DSurfTorus *pSrf, A3DSurfTorusData *pData)
 Populates the A3DSurfTorusData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeSurfTorus.

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

A3DUVParameterizationData allows for reparameterization and trim.

Function Documentation

◆ A3DSurfTorusGet()

A3DStatus A3DSurfTorusGet ( const A3DSurfTorus pSrf,
A3DSurfTorusData pData 
)

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

◆ A3DSurfTorusCreate()

A3DStatus A3DSurfTorusCreate ( const A3DSurfTorusData pData,
A3DSurfTorus **  ppSrf 
)

Creates an A3DSurfTorus from an A3DSurfTorusData 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