A3DParameterizationData
Fields
Detailed Description
-
struct A3DParameterizationData
Structure for parameterizing curves.
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.
- Version
2.0
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 unitsm_dCoeffB
, which specifies an offset between the two unit systems
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.