Spherical Surface
Types
Functions
Detailed Description
- group a3d_srfsphere
Entity type is kA3DTypeSurfSphere.
- Version
2.0
For the canonical definition and corresponding parametric equation, see the “SerializeSphere” section of the .
A3DUVParameterizationData allows for reparameterization and trim.
Function Documentation
-
A3DStatus A3DSurfSphereGet(const A3DSurfSphere *pSrf, A3DSurfSphereData *pData)
Populates the A3DSurfSphereData 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 A3DSurfSphereCreate(const A3DSurfSphereData *pData, A3DSurfSphere **ppSrf)
Creates an A3DSurfSphere from an A3DSurfSphereData structure.
- Version
2.0
Warning
Associated transformation must be Identity
Warning
Trimming interval must be defined inside curve definition
Warning
Parameterization must have CoeffA = 1. and CoeffB = 0.
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_INTERVAL_INCONSISTENT_DATA –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure