MCPcopy Create free account
hub / github.com/BIMCoderLiang/LNLib / LNLIB_POLY_basis_functions

Function LNLIB_POLY_basis_functions

dotnet/CAPI/src/Polynomials_CAPI.cpp:67–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void LNLIB_POLY_basis_functions(
68 int span_index,
69 int degree,
70 const double* knot_vector,
71 int knot_vector_count,
72 double param_t,
73 double* out_basis_functions
74)
75{
76 std::vector<double> kv(knot_vector, knot_vector + knot_vector_count);
77 LNLib::Polynomials::BasisFunctions(span_index, degree, kv, param_t, out_basis_functions);
78}
79
80void LNLIB_POLY_basis_functions_derivatives(
81 int span_index,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected