Parabolic Curve
Types
Functions
Detailed Description
- group a3d_crvparabola
Entity type is kA3DTypeCrvParabola.
- Version
2.0
For the canonical definition of this curve and its corresponding parametric equation, see the “SerializeParabola” section of the .
The A3DParameterizationData struct specified by the A3DCrvParabolaData::m_sParam member specifies reparameterization and trim for the curve.
When A3DCrvParabolaData::m_cParamType is set to 1, X value must be taken as param2/sqrt(16*focus2+param2), and Y as corresponding value 2 * A3DCrvParabolaData::m_dFocal * sqrt( fabs(X) / A3DCrvParabolaData::m_dFocal ).
- Attention
In version 2.1 and earlier, values for parameterization named in the A3DCrvParabolaData::m_cParamType member are inverted compared to the corresponding values in the .
- Version
2.3
A3DParameterizationData allows for reparameterization and trim.
Function Documentation
-
A3DStatus A3DCrvParabolaGet(const A3DCrvParabola *pCrv, A3DCrvParabolaData *pData)
Populates the A3DCrvParabolaData 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 A3DCrvParabolaCreate(const A3DCrvParabolaData *pData, A3DCrvParabola **ppCrv)
Creates an A3DCrvParabola from A3DCrvParabolaData structure.
- Version
2.0
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_INTERVAL_INCONSISTENT_DATA –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS in case of success or an error code