|
ENTITY rational_b_spline_volume SUBTYPE OF (b_spline_volume); weights_data : LIST [2:?] OF LIST [2:?] OF LIST [2:?] OF REAL; DERIVE weights : ARRAY [0: u_upper ] OF ARRAY [0: v_upper ] OF ARRAY [0: w_upper ] OF REAL := make_array_of_array_of_array ( weights_data , 0 , u_upper , 0 , v_upper , 0 , w_upper ) ; WHERE wr1: ( SIZEOF ( weights_data ) = SIZEOF ( SELF \ b_spline_volume . control_points_list ) ) AND ( SIZEOF ( weights_data [ 1 ] ) = SIZEOF ( SELF \ b_spline_volume . control_points_list [ 1 ] ) ) AND ( SIZEOF ( weights_data [ 1 ] [ 1 ] ) = SIZEOF ( SELF \ b_spline_volume . control_points_list [ 1 ] [ 1 ] ) ) ; wr2: volume_weights_positive ( SELF ) ; END_ENTITY; -- rational_b_spline_volume |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; volume - b_spline_volume u_degree: INTEGER; v_degree: INTEGER; w_degree: INTEGER; control_points_list: LIST [2:?] OF LIST [2:?] OF LIST [2:?] OF cartesian_point; (DER) u_upper: INTEGER; (DER) v_upper: INTEGER; (DER) w_upper: INTEGER; (DER) control_points: ARRAY [0: u_upper ] OF ARRAY [0: v_upper ] OF ARRAY [0: w_upper ] OF cartesian_point; rational_b_spline_volume weights_data: LIST [2:?] OF LIST [2:?] OF LIST [2:?] OF REAL; (DER) weights: ARRAY [0: u_upper ] OF ARRAY [0: v_upper ] OF ARRAY [0: w_upper ] OF REAL; |
Global rules for this entity data type- |
public interface ERational_b_spline_volume extends EB_spline_volumeweights_data (explicit attribute)boolean testWeights_data(ERational_b_spline_volume type)Aaadouble getWeights_data(ERational_b_spline_volume type) Aaadouble createWeights_data(ERational_b_spline_volume type) void unsetWeights_data(ERational_b_spline_volume type) weights (derived attribute)Aaadouble getWeights(ERational_b_spline_volume type)boolean testWeights(ERational_b_spline_volume type) |
public class CRational_b_spline_volume implements ERational_b_spline_volumestatic EAttribute attributeWeights_data(ERational_b_spline_volume type)static EAttribute attributeWeights(ERational_b_spline_volume type) |
public class ARational_b_spline_volume extends AEntitypublic ERational_b_spline_volume getByIndex(int index)public ERational_b_spline_volume getCurrentMember(SdaiIterator it) |