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; |
b_spline_surface_with_knots$rational_b_spline_surface (GEOMETRY_SCHEMA) |
bezier_surface$rational_b_spline_surface (GEOMETRY_SCHEMA) |
quasi_uniform_surface$rational_b_spline_surface (GEOMETRY_SCHEMA) |
rational_b_spline_surface$uniform_surface (GEOMETRY_SCHEMA) |
Global rules for this entity data type- |
public interface ERational_b_spline_surface extends EB_spline_surfaceweights_data (explicit attribute)boolean testWeights_data(ERational_b_spline_surface type)Aadouble getWeights_data(ERational_b_spline_surface type) Aadouble createWeights_data(ERational_b_spline_surface type) void unsetWeights_data(ERational_b_spline_surface type) weights (derived attribute)Aadouble getWeights(ERational_b_spline_surface type)boolean testWeights(ERational_b_spline_surface type) |
public class CRational_b_spline_surface implements ERational_b_spline_surfacestatic EAttribute attributeWeights_data(ERational_b_spline_surface type)static EAttribute attributeWeights(ERational_b_spline_surface type) |
public class ARational_b_spline_surface extends AEntitypublic ERational_b_spline_surface getByIndex(int index)public ERational_b_spline_surface getCurrentMember(SdaiIterator it) |