Navigation

b_spline_curve

EXPRESS specification:

ENTITY b_spline_curve
SUPERTYPE OF (ONEOF(b_spline_curve_with_knots, uniform_curve, quasi_uniform_curve, bezier_curve) ANDOR rational_b_spline_curve)
SUBTYPE OF ( bounded_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);
WHERE
WRB1  :  ('STRUCTURAL_FRAME_SCHEMA.UNIFORM_CURVE' IN TYPEOF(self)) OR ('STRUCTURAL_FRAME_SCHEMA.QUASI_UNIFORM_CURVE' IN TYPEOF(self)) OR ('STRUCTURAL_FRAME_SCHEMA.BEZIER_CURVE' IN TYPEOF(self)) OR ('STRUCTURAL_FRAME_SCHEMA.B_SPLINE_CURVE_WITH_KNOTS' IN TYPEOF(self));
END_ENTITY;

References (6):

Name Type Referred through Express-G
b_spline_curve_with_knots Entity
Supertype
No Diagram
bezier_curve Entity
Supertype
No Diagram
bounded_curve Entity
Subtype
No Diagram
quasi_uniform_curve Entity
Supertype
No Diagram
rational_b_spline_curve Entity
Supertype
No Diagram
uniform_curve Entity
Supertype
No Diagram

Inheritance graph

ENTITY 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);
END_ENTITY;