Navigation

b_spline_curve_with_knots

EXPRESS specification:

ENTITY b_spline_curve_with_knots
SUBTYPE OF ( b_spline_curve);
knot_multiplicities  :  LIST [2:?] OF INTEGER;
knots  :  LIST [2:?] OF parameter_value;
knot_spec  :  knot_type;
DERIVE
upper_index_on_knots  :  INTEGER :=  SIZEOF(knots);
WHERE
WRB2  :  constraints_param_b_spline(degree, upper_index_on_knots, upper_index_on_control_points, knot_multiplicities, knots);
WRB3  :  SIZEOF(knot_multiplicities) = upper_index_on_knots;
END_ENTITY;

References (1):

Name Type Referred through Express-G
b_spline_curve Entity
Subtype
No Diagram

Inheritance graph

ENTITY b_spline_curve_with_knots;
ENTITY representation_item;
name  :  label;
ENTITY geometric_representation_item;
DERIVE
dim  :  dimension_count :=  dimension_of(SELF);
ENTITY curve;
ENTITY bounded_curve;
ENTITY b_spline_curve;
degree  :  INTEGER;
control_points_list  :  LIST [2:?] OF cartesian_point;
curve_form  :  b_spline_curve_form;
closed_curve  :  LOGICAL;
self_intersect  :  LOGICAL;
DERIVE
upper_index_on_control_points  :  INTEGER :=  (SIZEOF(control_points_list) - 1);
control_points  :  ARRAY [0:100] OF cartesian_point := 
list_to_array(control_points_list, 0, upper_index_on_control_points);
ENTITY b_spline_curve_with_knots;
knot_multiplicities  :  LIST [2:?] OF INTEGER;
knots  :  LIST [2:?] OF parameter_value;
knot_spec  :  knot_type;
DERIVE
upper_index_on_knots  :  INTEGER :=  SIZEOF(knots);
END_ENTITY;