Data Structures

struct  A3DSurfSphereData
 Structure for representing a spherical surface. More...
 

Functions

A3DStatus A3DSurfSphereCreate (const A3DSurfSphereData *pData, A3DSurfSphere **ppSrf)
 Creates an A3DSurfSphere from an A3DSurfSphereData structure. More...
 
A3DStatus A3DSurfSphereGet (const A3DSurfSphere *pSrf, A3DSurfSphereData *pData)
 Populates the A3DSurfSphereData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeSurfSphere.

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

A3DUVParameterizationData allows for reparameterization and trim.

Function Documentation

◆ A3DSurfSphereGet()

A3DStatus A3DSurfSphereGet ( const A3DSurfSphere pSrf,
A3DSurfSphereData pData 
)

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

◆ A3DSurfSphereCreate()

A3DStatus A3DSurfSphereCreate ( const A3DSurfSphereData pData,
A3DSurfSphere **  ppSrf 
)

Creates an A3DSurfSphere from an A3DSurfSphereData structure.

Version
2.0
Warning
Associated transformation must be Identity
Trimming interval must be defined inside curve definition
Parameterization must have CoeffA = 1. and CoeffB = 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_INTERVAL_INCONSISTENT_DATA
A3D_SUCCESS