UNPKG

@numericelements/knot-sequence

Version:

A library for generating and manipulating knot sequences for b-spline curves and surfaces

11 lines (8 loc) 773 B
'use strict'; // All knot sequences // The abscissa specified for a request or a knot sequence operation has not been found into the sequence const WM_ABSCISSA_NOT_FOUND_IN_SEQUENCE = "Knot abscissa cannot be found into the knot sequence."; // When no, or not enough, intermediate knots exist between the end knots of an open knot sequence of a closed curve, some geometric constraints on the control polygon vertices must exist to describe a closed curve const WM_GEOMETRIC_CONSTRAINTS_POLYGON_VERTICES = "Geometric constraints must exist on control polygon vertices to produce a closed curve."; exports.WM_ABSCISSA_NOT_FOUND_IN_SEQUENCE = WM_ABSCISSA_NOT_FOUND_IN_SEQUENCE; exports.WM_GEOMETRIC_CONSTRAINTS_POLYGON_VERTICES = WM_GEOMETRIC_CONSTRAINTS_POLYGON_VERTICES;