A3DParameterizationData
-
struct
A3DParameterizationData Structure for parameterizing curves.
2.0This 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.
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 systemsActual parameterization units match implicit parameterization units. If the units of the actual parameterization match the units of the implicit parameterization, then the
m_dCoeffAmember must be set to 1 and them_dCoeffBmember 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_dCoeffAmember must be set to the ratio of the implicit parameterization’s units and the actual parameterization’s units, and them_dCoeffBmember must be set to the offset between the units.The trimming interval is always expressed in actual parameterization units.
The initialization macro
A3D_INITIALIZE_DATAsetsm_dCoeffAandm_dCoeffBto 0. Leavingm_dCoeffAset 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 setm_dCoeffAto 1.0.
The
A3DParameterizationDatastructure provides two coefficients (affine function) that convert from the actual parameterization units to the implicit parameterization units. Here are guidelines for setting these coefficients:
Variables
-
A3DIntervalData
A3DParameterizationData.m_sInterval -
Curve (1-dimensional) range.
-
A3DDouble
A3DParameterizationData.m_dCoeffA -
Coefficient for reparameterization.
-
A3DDouble
A3DParameterizationData.m_dCoeffB -
Coefficient for reparameterization.