dewittpe / cpr

Control Polygon Reduction: Methods for quick and efficient placement of internal knots for B-splines and tensor products of B-splines.
http://www.peteredewitt.com/cpr/
2 stars 0 forks source link

Improve how cpr and cnr create cps #50

Open dewittpe opened 9 months ago

dewittpe commented 9 months ago

After #25 is done, the exisiting code will be very slow with the rebuilding of the data set. Refactor the methods. The data set need only be built once, the formula needs to be updated on each cp or cn.

Likely need to split the generate_cp_formula_data call into two, one for the formula and one for the data.