Cylindrical Surface

Types

A3DSurfCylinderData

Functions

A3DStatus

A3DSurfCylinderGet

A3DStatus

A3DSurfCylinderCreate

Detailed Description

group a3d_srfcylinder

Entity type is kA3DTypeSurfCylinder.

Version

2.0

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

A3DUVParameterizationData allows for reparameterization and trim.

Function Documentation

A3DStatus A3DSurfCylinderGet(const A3DSurfCylinder *pSrf, A3DSurfCylinderData *pData)

Populates the A3DSurfCylinderData 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 in case of success or an error code

A3DStatus A3DSurfCylinderCreate(const A3DSurfCylinderData *pData, A3DSurfCylinder **ppSrf)

Creates an A3DSurfCylinder from an A3DSurfCylinderData structure.

Version

2.0

Return values
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code