ENTITY b_spline_curve SUPERTYPE OF ((ONEOF (uniform_curve, b_spline_curve_with_knots, 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:upper_index_on_control_points] OF cartesian_point := list_to_array(control_points_list,0, upper_index_on_control_points); WHERE wr1: ('GEOMETRY_SCHEMA.UNIFORM_CURVE' IN TYPEOF(self)) OR ('GEOMETRY_SCHEMA.QUASI_UNIFORM_CURVE' IN TYPEOF(self)) OR ('GEOMETRY_SCHEMA.BEZIER_CURVE' IN TYPEOF(self)) OR ('GEOMETRY_SCHEMA.B_SPLINE_CURVE_WITH_KNOTS' IN TYPEOF(self)); END_ENTITY; -- 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; |
b_spline_curve_with_knots (GEOMETRY_SCHEMA) |
bezier_curve (GEOMETRY_SCHEMA) |
quasi_uniform_curve (GEOMETRY_SCHEMA) |
rational_b_spline_curve (GEOMETRY_SCHEMA) |
uniform_curve (GEOMETRY_SCHEMA) |
Global rules for this entity data type- |
public interface EB_spline_curve extends EBounded_curvedegree (explicit attribute)boolean testDegree(EB_spline_curve type)int getDegree(EB_spline_curve type) void setDegree(EB_spline_curve type, int value) void unsetDegree(EB_spline_curve type) control_points_list (explicit attribute)boolean testControl_points_list(EB_spline_curve type)ACartesian_point getControl_points_list(EB_spline_curve type) ACartesian_point createControl_points_list(EB_spline_curve type) void unsetControl_points_list(EB_spline_curve type) curve_form (explicit attribute)boolean testCurve_form(EB_spline_curve type)int getCurve_form(EB_spline_curve type) void setCurve_form(EB_spline_curve type, int value) void unsetCurve_form(EB_spline_curve type) closed_curve (explicit attribute)boolean testClosed_curve(EB_spline_curve type)int getClosed_curve(EB_spline_curve type) void setClosed_curve(EB_spline_curve type, int value) void unsetClosed_curve(EB_spline_curve type) self_intersect (explicit attribute)boolean testSelf_intersect(EB_spline_curve type)int getSelf_intersect(EB_spline_curve type) void setSelf_intersect(EB_spline_curve type, int value) void unsetSelf_intersect(EB_spline_curve type) upper_index_on_control_points (derived attribute)int getUpper_index_on_control_points(EB_spline_curve type)boolean testUpper_index_on_control_points(EB_spline_curve type) control_points (derived attribute)ACartesian_point getControl_points(EB_spline_curve type)boolean testControl_points(EB_spline_curve type) |
public class CB_spline_curve implements EB_spline_curvestatic EAttribute attributeDegree(EB_spline_curve type)static EAttribute attributeControl_points_list(EB_spline_curve type) static int usedinControl_points_list(EB_spline_curve type, ECartesian_point instance, ASdaiModel domain, AB_spline_curve result) static EAttribute attributeCurve_form(EB_spline_curve type) static EAttribute attributeClosed_curve(EB_spline_curve type) static EAttribute attributeSelf_intersect(EB_spline_curve type) static EAttribute attributeUpper_index_on_control_points(EB_spline_curve type) static EAttribute attributeControl_points(EB_spline_curve type) static int usedinControl_points(EB_spline_curve type, ECartesian_point instance, ASdaiModel domain, AB_spline_curve result) |
public class AB_spline_curve extends AEntitypublic EB_spline_curve getByIndex(int index)public EB_spline_curve getCurrentMember(SdaiIterator it) |