Overview

Programming Guide

API Reference

A3DMathFct1DPolynomData Struct Reference

Polynomial structure. More...

Data Fields

A3DUns16 m_usStructSize
 
A3DUns32 m_uiSize
 
A3DDoublem_pdCoeffs
 

Detailed Description

Polynomial structure.

Version
2.0

The array of coefficients is defined from least value to greatest value. The following equation shows the result of this function for a third-degree polynomial (m_uiSize is 3), where t is the parameter and x the result:

x = m_pdCoeffs[0] + m_pdCoeffs[1] * t + m_pdCoeffs[2] * t*t

Field Documentation

A3DUns16 A3DMathFct1DPolynomData::m_usStructSize

Reserved; must be initialized with A3D_INITIALIZE_DATA.

A3DUns32 A3DMathFct1DPolynomData::m_uiSize

Size of next array.

A3DDouble* A3DMathFct1DPolynomData::m_pdCoeffs

Vector of coefficients.