|
ENTITY rational_b_spline_surface SUBTYPE OF (b_spline_surface); weights_data : LIST [2:?] OF LIST [2:?] OF REAL; DERIVE weights : ARRAY [0:u_upper] OF ARRAY [0:v_upper] OF REAL := make_array_of_array(weights_data,0,u_upper,0,v_upper); WHERE WR1: (SIZEOF(weights_data) = SIZEOF(SELF\b_spline_surface.control_points_list)) AND (SIZEOF(weights_data[1]) = SIZEOF(SELF\b_spline_surface.control_points_list[1])); WR2: surface_weights_positive(SELF); END_ENTITY; -- rational_b_spline_surface |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; surface - bounded_surface - b_spline_surface u_degree: INTEGER; v_degree: INTEGER; control_points_list: LIST [2:?] OF LIST [2:?] OF cartesian_point; surface_form: b_spline_surface_form; u_closed: LOGICAL; v_closed: LOGICAL; self_intersect: LOGICAL; (DER) u_upper: INTEGER; (DER) v_upper: INTEGER; (DER) control_points: ARRAY [0:u_upper] OF ARRAY [0:v_upper] OF cartesian_point; rational_b_spline_surface weights_data: LIST [2:?] OF LIST [2:?] OF REAL; (DER) weights: ARRAY [0:u_upper] OF ARRAY [0:v_upper] OF REAL; |
Global rules for this entity data type- |