Data Structures

struct  A3DSurfTransformData
 Transform surface structure. More...
 

Functions

A3DStatus A3DSurfTransformCreate (const A3DSurfTransformData *pData, A3DSurfTransform **ppSrf)
 Creates an A3DSurfTransform from an A3DSurfTransformData structure. More...
 
A3DStatus A3DSurfTransformGet (const A3DSurfTransform *pSrf, A3DSurfTransformData *pData)
 Populates the A3DSurfTransformData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeSurfTransform.

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

A3DUVParameterizationData allows for reparameterization and trim.

A3DMiscCartesianTransformationData allows for specific placement.

Function Documentation

◆ A3DSurfTransformGet()

A3DStatus A3DSurfTransformGet ( const A3DSurfTransform pSrf,
A3DSurfTransformData pData 
)

Populates the A3DSurfTransformData 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_SRF_CANNOT_ACCESS_CANONICAL
A3D_SUCCESS

◆ A3DSurfTransformCreate()

A3DStatus A3DSurfTransformCreate ( const A3DSurfTransformData pData,
A3DSurfTransform **  ppSrf 
)

Creates an A3DSurfTransform from an A3DSurfTransformData 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_SRF_CANNOT_CREATE_CANONICAL
A3D_SUCCESS