Fraction Function

Types

A3DMathFct1DFractionData

Functions

A3DStatus

A3DMathFct1DFractionGet

A3DStatus

A3DMathFct1DFractionCreate

Detailed Description

group A3D_mathfn1d_fraction

Entity type is kA3DTypeMathFct1DFraction.

Function Documentation

A3DStatus A3DMathFct1DFractionGet(const A3DMathFct1DFraction *pMathFn, A3DMathFct1DFractionData *pData)

Populates the A3DMathFct1DFractionData 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_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus A3DMathFct1DFractionCreate(const A3DMathFct1DFractionData *pData, A3DMathFct1DFraction **ppMathFn)

Creates an A3DMathFct1DFraction from an A3DMathFct1DFractionData structure.

Version

2.0

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INTERVAL_INCONSISTENT_DATA

  • A3D_MATH_FRACTION_INCONSISTENT_NUMERATOR

  • A3D_MATH_FRACTION_INCONSISTENT_DENOMINATOR

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure