ENTITY line SUBTYPE OF (curve); pnt : cartesian_point; dir : vector; WHERE wr1: dir.dim = pnt.dim; END_ENTITY; -- line |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; curve - line pnt: cartesian_point; dir: vector; |
Global rules for this entity data type- |
public interface ELine extends ECurvepnt (explicit attribute)boolean testPnt(ELine type)ECartesian_point getPnt(ELine type) void setPnt(ELine type, ECartesian_point value) void unsetPnt(ELine type) dir (explicit attribute)boolean testDir(ELine type)EVector getDir(ELine type) void setDir(ELine type, EVector value) void unsetDir(ELine type) |
public class CLine implements ELinestatic EAttribute attributePnt(ELine type)static int usedinPnt(ELine type, ECartesian_point instance, ASdaiModel domain, ALine result) static EAttribute attributeDir(ELine type) static int usedinDir(ELine type, EVector instance, ASdaiModel domain, ALine result) |
public class ALine extends AEntitypublic ELine getByIndex(int index)public ELine getCurrentMember(SdaiIterator it) |