Cylindrical Surface
Data Structures | |
struct | A3DSurfCylinderData |
Structure for representing a cylindrical surface. More... | |
Functions | |
A3DStatus | A3DSurfCylinderCreate (const A3DSurfCylinderData *pData, A3DSurfCylinder **ppSrf) |
Creates an A3DSurfCylinder from an A3DSurfCylinderData structure. More... | |
A3DStatus | A3DSurfCylinderGet (const A3DSurfCylinder *pSrf, A3DSurfCylinderData *pData) |
Populates the A3DSurfCylinderData structure. More... | |
Detailed Description
- Version
- 2.0
Entity type is kA3DTypeSurfCylinder.
For the canonical definition and corresponding parametric equation, see the "SerializeCylinder" section of the PRC Format Specification.
A3DUVParameterizationData allows for reparameterization and trim.
Function Documentation
◆ A3DSurfCylinderGet()
A3DStatus A3DSurfCylinderGet | ( | const A3DSurfCylinder * | pSrf, |
A3DSurfCylinderData * | pData | ||
) |
Populates the A3DSurfCylinderData 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
◆ A3DSurfCylinderCreate()
A3DStatus A3DSurfCylinderCreate | ( | const A3DSurfCylinderData * | pData, |
A3DSurfCylinder ** | ppSrf | ||
) |
Creates an A3DSurfCylinder from an A3DSurfCylinderData 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