Data Structures

struct  A3DCrvParabolaData
 Parabola arc structure. More...
 

Functions

A3DStatus A3DCrvParabolaCreate (const A3DCrvParabolaData *pData, A3DCrvParabola **ppCrv)
 Creates an A3DCrvParabola from A3DCrvParabolaData structure. More...
 
A3DStatus A3DCrvParabolaGet (const A3DCrvParabola *pCrv, A3DCrvParabolaData *pData)
 Populates the A3DCrvParabolaData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeCrvParabola.

For the canonical definition of this curve and its corresponding parametric equation, see the "SerializeParabola" section of the PRC Format Specification.

The A3DParameterizationData struct specified by the A3DCrvParabolaData::m_sParam member specifies reparameterization and trim for the curve.

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 PRC Format Specification.
Version
2.3

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 ).

A3DParameterizationData allows for reparameterization and trim.

Function Documentation

◆ A3DCrvParabolaGet()

A3DStatus A3DCrvParabolaGet ( const A3DCrvParabola pCrv,
A3DCrvParabolaData pData 
)

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

◆ A3DCrvParabolaCreate()

A3DStatus A3DCrvParabolaCreate ( const A3DCrvParabolaData pData,
A3DCrvParabola **  ppCrv 
)

Creates an A3DCrvParabola from A3DCrvParabolaData 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_INTERVAL_INCONSISTENT_DATA
A3D_SUCCESS