Data Structures

struct  A3DCrvEquationData
 Equation structure. More...
 

Functions

A3DStatus A3DCrvEquationCreate (const A3DCrvEquationData *pData, A3DCrvEquation **ppCrv)
 Creates an A3DCrvEquation from A3DCrvEquationData structure. More...
 
A3DStatus A3DCrvEquationGet (const A3DCrvEquation *pCrv, A3DCrvEquationData *pData)
 Populates the A3DCrvEquationData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeCrvEquation.

For the canonical definition of this curve, see the "SerializeEquation" section of the PRC Format Specification.

A3DParameterizationData allows for reparameterization and trim.

A3DMiscCartesianTransformationData allows for specific placement.

Function Documentation

◆ A3DCrvEquationGet()

A3DStatus A3DCrvEquationGet ( const A3DCrvEquation pCrv,
A3DCrvEquationData pData 
)

Populates the A3DCrvEquationData 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_CRV_CANNOT_ACCESS_CANONICAL
A3D_SUCCESS

◆ A3DCrvEquationCreate()

A3DStatus A3DCrvEquationCreate ( const A3DCrvEquationData pData,
A3DCrvEquation **  ppCrv 
)

Creates an A3DCrvEquation from A3DCrvEquationData 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_CRV_EQUATION_CANNOT_CREATE_CANONICAL
A3D_SUCCESS