Toric Surface
Types
Functions
Detailed Description
- group a3d_srftorus
Entity type is kA3DTypeSurfTorus.
- Version
2.0
For the canonical definition and corresponding parametric equation, see the “SerializeTorus” section of the
A3DUVParameterizationData allows for reparameterization and trim.
Function Documentation
-
A3DStatus A3DSurfTorusGet(const A3DSurfTorus *pSrf, A3DSurfTorusData *pData)
Populates the A3DSurfTorusData structure.
- Version
2.0
- 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 –
- Returns:
A3D_SUCCESS
on success, or an error code on failure
-
A3DStatus A3DSurfTorusCreate(const A3DSurfTorusData *pData, A3DSurfTorus **ppSrf)
Creates an A3DSurfTorus from an A3DSurfTorusData structure.
- Version
2.0
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure