Navigation

rational_b_spline_curve

EXPRESS specification:

ENTITY rational_b_spline_curve
SUBTYPE OF ( b_spline_curve);
weights_data  :  LIST [2:?] OF REAL;
DERIVE
weights  :  ARRAY [0:100] OF REAL :=  list_to_array
(weights_data, 0, upper_index_on_control_points);
WHERE
WRR4  :  SIZEOF(weights_data) = SIZEOF(SELF\b_spline_curve.control_points_list);
WRR5  :  curve_weights_positive(SELF);
END_ENTITY;

References (1):

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

Inheritance graph

ENTITY rational_b_spline_curve;
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 rational_b_spline_curve;
weights_data  :  LIST [2:?] OF REAL;
DERIVE
weights  :  ARRAY [0:100] OF REAL :=  list_to_array
(weights_data, 0, upper_index_on_control_points);
END_ENTITY;