| 24 | } |
| 25 | |
| 26 | void LNLIB_KV_rescale( |
| 27 | const double* knot_vector, |
| 28 | int knot_vector_count, |
| 29 | double min, |
| 30 | double max, |
| 31 | double* result) |
| 32 | { |
| 33 | std::vector<double> kv(knot_vector, knot_vector + knot_vector_count); |
| 34 | auto res = LNLib::KnotVectorUtils::Rescale(kv, min, max); |
| 35 | std::memcpy(result, res.data(), knot_vector_count * sizeof(double)); |
| 36 | } |
| 37 | |
| 38 | int LNLIB_KV_is_uniform( |
| 39 | const double* knot_vector, |
nothing calls this directly
no outgoing calls
no test coverage detected