ENTITY sectioned_spine SUBTYPE OF (geometric_curve_set); cross_sections : LIST [2:?] OF curve; spine_points : LIST [2:?] OF point; WHERE wr1: SIZEOF(SELF\geometric_set.elements) = 1; wr2: 'GEOMETRY_SCHEMA.CURVE' IN TYPEOF(SELF\geometric_set.elements[1]); wr3: SIZEOF(cross_sections) = SIZEOF(spine_points); wr4: SELF\geometric_representation_item.dim = 3; END_ENTITY; -- sectioned_spine |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; geometric_set elements: SET [1:?] OF geometric_set_select; geometric_curve_set - sectioned_spine cross_sections: LIST [2:?] OF curve; spine_points: LIST [2:?] OF point; |
Global rules for this entity data type- |
public interface ESectioned_spine extends EGeometric_curve_setcross_sections (explicit attribute)boolean testCross_sections(ESectioned_spine type)ACurve getCross_sections(ESectioned_spine type) ACurve createCross_sections(ESectioned_spine type) void unsetCross_sections(ESectioned_spine type) spine_points (explicit attribute)boolean testSpine_points(ESectioned_spine type)APoint getSpine_points(ESectioned_spine type) APoint createSpine_points(ESectioned_spine type) void unsetSpine_points(ESectioned_spine type) |
public class CSectioned_spine implements ESectioned_spinestatic EAttribute attributeCross_sections(ESectioned_spine type)static int usedinCross_sections(ESectioned_spine type, ECurve instance, ASdaiModel domain, ASectioned_spine result) static EAttribute attributeSpine_points(ESectioned_spine type) static int usedinSpine_points(ESectioned_spine type, EPoint instance, ASdaiModel domain, ASectioned_spine result) |
public class ASectioned_spine extends AEntitypublic ESectioned_spine getByIndex(int index)public ESectioned_spine getCurrentMember(SdaiIterator it) |