|
ENTITY rational_b_spline_curve SUBTYPE OF (b_spline_curve); weights_data : LIST [2:?] OF REAL; DERIVE weights : ARRAY [0: upper_index_on_control_points ] OF REAL := list_to_array ( weights_data , 0 , upper_index_on_control_points ) ; WHERE wr1: SIZEOF ( weights_data ) = SIZEOF ( SELF \ b_spline_curve . control_points_list ) ; wr2: curve_weights_positive ( SELF ) ; END_ENTITY; -- rational_b_spline_curve |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; curve - bounded_curve - 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; (DER) upper_index_on_control_points: INTEGER; (DER) control_points: ARRAY [0: upper_index_on_control_points ] OF cartesian_point; rational_b_spline_curve weights_data: LIST [2:?] OF REAL; (DER) weights: ARRAY [0: upper_index_on_control_points ] OF REAL; |
| b_spline_curve_with_knots$rational_b_spline_curve (GEOMETRY_SCHEMA) |
| bezier_curve$rational_b_spline_curve (GEOMETRY_SCHEMA) |
| quasi_uniform_curve$rational_b_spline_curve (GEOMETRY_SCHEMA) |
| rational_b_spline_curve$uniform_curve (GEOMETRY_SCHEMA) |
Global rules for this entity data type- |
public interface ERational_b_spline_curve extends EB_spline_curveweights_data (explicit attribute)boolean testWeights_data(ERational_b_spline_curve type)A_double getWeights_data(ERational_b_spline_curve type) A_double createWeights_data(ERational_b_spline_curve type) void unsetWeights_data(ERational_b_spline_curve type) weights (derived attribute)A_double getWeights(ERational_b_spline_curve type)boolean testWeights(ERational_b_spline_curve type) |
public class CRational_b_spline_curve implements ERational_b_spline_curvestatic EAttribute attributeWeights_data(ERational_b_spline_curve type)static EAttribute attributeWeights(ERational_b_spline_curve type) |
public class ARational_b_spline_curve extends AEntitypublic ERational_b_spline_curve getByIndex(int index)public ERational_b_spline_curve getCurrentMember(SdaiIterator it) |