Curve On Surface
Types
Functions
Detailed Description
- group a3d_crvonsurf
Entity type is kA3DTypeCrvOnSurf.
- Version
2.0
For the canonical definition of this curve, see the “SerializeTransformationCurve” section of the .
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.
Note
A3DMiscCartesianTransformationData should correspond to identity transformation.
Note
A3DCrvOnSurfData::m_pUVCurve must be a curve of type kA3DTypeCrvLine or kA3DTypeCrvNurbs.
Function Documentation
-
A3DStatus A3DCrvOnSurfGet(const A3DCrvOnSurf *pCrv, A3DCrvOnSurfData *pData)
Populates the A3DCrvOnSurfData 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_CRV_CANNOT_ACCESS_CANONICAL –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS in case of success or an error code
-
A3DStatus A3DCrvOnSurfCreate(const A3DCrvOnSurfData *pData, A3DCrvOnSurf **ppCrv)
Creates an A3DCrvOnSurf from A3DCrvOnSurfData structure.
- Version
2.0
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_CRV_CRVONSURF_CANNOT_CREATE_CANONICAL –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS in case of success or an error code