| 48 | } |
| 49 | |
| 50 | int LNLib::KnotVectorUtils::GetContinuity(int degree, const std::vector<double>& knotVector, double knot) |
| 51 | { |
| 52 | VALIDATE_ARGUMENT(degree > 0, "degree", "Degree must be greater than zero."); |
| 53 | int multi = Polynomials::GetKnotMultiplicity(knotVector, knot); |
| 54 | return degree - multi; |
| 55 | } |
| 56 | |
| 57 | std::vector<double> LNLib::KnotVectorUtils::Rescale(const std::vector<double>& knotVector, double min, double max) |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected