Revolution Surface

Types

A3DSurfRevolutionData

Functions

A3DStatus

A3DSurfRevolutionGet

A3DStatus

A3DSurfRevolutionCreate

Detailed Description

group a3d_srfrevolution

Entity type is kA3DTypeSurfRevolution.

Version

2.0

For the canonical definition and corresponding parametric equation, see the “SerializeRevolution” section of the .

A3DUVParameterizationData allows for reparameterization and trim.

Function Documentation

A3DStatus A3DSurfRevolutionGet(const A3DSurfRevolution *pSrf, A3DSurfRevolutionData *pData)

Populates the A3DSurfRevolutionData 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 A3DSurfRevolutionCreate(const A3DSurfRevolutionData *pData, A3DSurfRevolution **ppSrf)

Creates an A3DSurfRevolution from an A3DSurfRevolutionData 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