Construction and destruction. The determination that the curve is open or floating is based on the multiplicities. The 'uniform' input is used to avoid misclassifications due to floating-point rounding errors. Specifically, the breakpoints might be equally spaced (uniform) as real numbers, but the floating-point representations can have rounding errors that cause the knot differences not to be
| 126 | // can have uniform or nonuniform knots. This object makes copies of |
| 127 | // the input arrays. |
| 128 | BasisFunction() |
| 129 | : |
| 130 | mNumControls(0), |
| 131 | mDegree(0), |
| 132 | mTMin((Real)0), |
| 133 | mTMax((Real)0), |
| 134 | mTLength((Real)0), |
| 135 | mOpen(false), |
| 136 | mUniform(false), |
| 137 | mPeriodic(false) |
| 138 | { |
| 139 | } |
| 140 | |
| 141 | BasisFunction(BasisFunctionInput<Real> const& input) |
| 142 | : |
nothing calls this directly
no outgoing calls
no test coverage detected