Structure for parameterizing curves. More...

Data Fields

A3DDouble m_dCoeffA
 
A3DDouble m_dCoeffB
 
A3DIntervalData m_sInterval
 

Detailed Description

Structure for parameterizing curves.

Version
2.0

This structure is used in curve definitions (see Curves Module). Its members specify a trimming interval (1-dimensional range) and parameterization settings. Each curve has an implicit parameterization that corresponds to its canonical form. The units of the actual parameterization and the units of the implicit parameterization may differ.

The A3DParameterizationData structure provides two coefficients (affine function) that convert from the actual parameterization units to the implicit parameterization units.

  • m_dCoeffA, which specifies the ratio between the actual parameter's units and the implicit parameter's units
  • m_dCoeffB, which specifies an offset between the two unit systems

Here are guidelines for setting these coefficients:

  • Actual parameterization units match implicit parameterization units. If the units of the actual parameterization match the units of the implicit parameterization, then the m_dCoeffA member must be set to 1 and the m_dCoeffB member must be set to 0.
  • Actual parameterization units do not match the implicit parameterization units. If the units of the actual parameterization do not match the units of the implicit parameterization, then the m_dCoeffA member must be set to the ratio of the implicit parameterization's units and the actual parameterization's units, and the m_dCoeffB member must be set to the offset between the units.
Note
The trimming interval is always expressed in actual parameterization units.
Warning
The initialization macro A3D_INITIALIZE_DATA sets m_dCoeffA and m_dCoeffB to 0. Leaving m_dCoeffA set to 0 (unchanged) will result in an error. If no reparameterization is desired (the interval uses the same units as the implicit parameterization), you must set m_dCoeffA to 1.0.

Field Documentation

A3DIntervalData A3DParameterizationData::m_sInterval

Curve (1-dimensional) range.

A3DDouble A3DParameterizationData::m_dCoeffA

Coefficient for reparameterization.

A3DDouble A3DParameterizationData::m_dCoeffB

Coefficient for reparameterization.