Data Structures

struct  A3DCrvOnSurfData
 Curve on Surface structure. More...
 

Functions

A3DStatus A3DCrvOnSurfCreate (const A3DCrvOnSurfData *pData, A3DCrvOnSurf **ppCrv)
 Creates an A3DCrvOnSurf from A3DCrvOnSurfData structure. More...
 
A3DStatus A3DCrvOnSurfGet (const A3DCrvOnSurf *pCrv, A3DCrvOnSurfData *pData)
 Populates the A3DCrvOnSurfData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeCrvOnSurf.

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

Note
A3DParameterizationData must have A3DParameterizationData::m_dCoeffA set to 1, A3DParameterizationData::m_dCoeffB set to 0 and an A3DIntervalData identical to the one of A3DCrvOnSurfData::m_pUVCurve.
A3DMiscCartesianTransformationData should correspond to identity transformation.
A3DCrvOnSurfData::m_pUVCurve must be a curve of type kA3DTypeCrvLine or kA3DTypeCrvNurbs.

Function Documentation

◆ A3DCrvOnSurfGet()

A3DStatus A3DCrvOnSurfGet ( const A3DCrvOnSurf pCrv,
A3DCrvOnSurfData pData 
)

Populates the A3DCrvOnSurfData 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

◆ A3DCrvOnSurfCreate()

A3DStatus A3DCrvOnSurfCreate ( const A3DCrvOnSurfData pData,
A3DCrvOnSurf **  ppCrv 
)

Creates an A3DCrvOnSurf from A3DCrvOnSurfData 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_CRVONSURF_CANNOT_CREATE_CANONICAL
A3D_SUCCESS