@numericelements/knot-sequence
Version:
A library for generating and manipulating knot sequences for b-spline curves and surfaces
14 lines (11 loc) • 950 B
JavaScript
;
const EM_KNOT_CONSTRUCTOR_KNOT_ABSCISSA = "Knot abscissa value out of range. Cannot proceed.";
const EM_KNOT_CONSTRUCTOR_KNOT_MULTIPLICITY = "Knot multiplicity value out of range. Cannot proceed.";
const EM_KNOT_DECREMENT_KNOT_MULTIPLICITY = "Encountered a knot multiplicity smaller than one when decrementing. Cannot proceed.";
const EM_KNOT_INDEX_VALUE = "Knot index is negative. Must be positive or null. Cannot proceed.";
const EM_KNOT_INCREMENT_DECREMENT = "Knot multiplicity cannot be incremented/decremented by an increment/decrement value smaller than one.";
exports.EM_KNOT_CONSTRUCTOR_KNOT_ABSCISSA = EM_KNOT_CONSTRUCTOR_KNOT_ABSCISSA;
exports.EM_KNOT_CONSTRUCTOR_KNOT_MULTIPLICITY = EM_KNOT_CONSTRUCTOR_KNOT_MULTIPLICITY;
exports.EM_KNOT_DECREMENT_KNOT_MULTIPLICITY = EM_KNOT_DECREMENT_KNOT_MULTIPLICITY;
exports.EM_KNOT_INCREMENT_DECREMENT = EM_KNOT_INCREMENT_DECREMENT;
exports.EM_KNOT_INDEX_VALUE = EM_KNOT_INDEX_VALUE;