Data Structures

struct  A3DCrvHyperbolaData
 Hyperbola arc structure. More...
 

Functions

A3DStatus A3DCrvHyperbolaCreate (const A3DCrvHyperbolaData *pData, A3DCrvHyperbola **ppCrv)
 Creates an A3DCrvHyperbola from A3DCrvHyperbolaData structure. More...
 
A3DStatus A3DCrvHyperbolaGet (const A3DCrvHyperbola *pCrv, A3DCrvHyperbolaData *pData)
 Populates the A3DCrvHyperbolaData structure. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeCrvHyperbola.

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

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

Attention
In version 2.1 and earlier, values for the parameterization type named by the A3DCrvHyperbolaData::m_cParamType member are inverted compared to the corresponding values in the PRC Format Specification.

Function Documentation

◆ A3DCrvHyperbolaGet()

A3DStatus A3DCrvHyperbolaGet ( const A3DCrvHyperbola pCrv,
A3DCrvHyperbolaData pData 
)

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

◆ A3DCrvHyperbolaCreate()

A3DStatus A3DCrvHyperbolaCreate ( const A3DCrvHyperbolaData pData,
A3DCrvHyperbola **  ppCrv 
)

Creates an A3DCrvHyperbola from A3DCrvHyperbolaData 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