| 120 | } |
| 121 | |
| 122 | std::map<double, int> LNLib::KnotVectorUtils::GetKnotMultiplicityMap(const std::vector<double>& knotVector) |
| 123 | { |
| 124 | std::map<double, int> result; |
| 125 | |
| 126 | for (double knot : knotVector) { |
| 127 | |
| 128 | ++result[knot]; |
| 129 | } |
| 130 | |
| 131 | return result; |
| 132 | } |
| 133 | |
| 134 | std::map<double, int> LNLib::KnotVectorUtils::GetInternalKnotMultiplicityMap(const std::vector<double>& knotVector) |
| 135 | { |
nothing calls this directly
no outgoing calls
no test coverage detected