ENTITY sphere SUBTYPE OF (geometric_representation_item); radius : positive_length_measure; centre : point; END_ENTITY; -- sphere |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; sphere radius: positive_length_measure; centre: point; |
Global rules for this entity data type- |
public interface ESphere extends EGeometric_representation_itemradius (explicit attribute)boolean testRadius(ESphere type)double getRadius(ESphere type) void setRadius(ESphere type, double value) void unsetRadius(ESphere type) centre (explicit attribute)boolean testCentre(ESphere type)EPoint getCentre(ESphere type) void setCentre(ESphere type, EPoint value) void unsetCentre(ESphere type) |
public class CSphere implements ESpherestatic EAttribute attributeRadius(ESphere type)static EAttribute attributeCentre(ESphere type) static int usedinCentre(ESphere type, EPoint instance, ASdaiModel domain, ASphere result) |
public class ASphere extends AEntitypublic ESphere getByIndex(int index)public ESphere getCurrentMember(SdaiIterator it) |