ENTITY oriented_edge SUBTYPE OF (edge); edge_element : edge; orientation : BOOLEAN; DERIVE SELF\edge.edge_start : vertex := boolean_choose (SELF.orientation, SELF.edge_element.edge_start, SELF.edge_element.edge_end); SELF\edge.edge_end : vertex := boolean_choose (SELF.orientation, SELF.edge_element.edge_end, SELF.edge_element.edge_start); WHERE wr1: NOT ('TOPOLOGY_SCHEMA.ORIENTED_EDGE' IN TYPEOF (SELF.edge_element)); END_ENTITY; -- oriented_edge |
Entity data types and their attributesrepresentation_itemname: label; topological_representation_item - edge edge_start: vertex; edge_end: vertex; oriented_edge edge_element: edge; orientation: BOOLEAN; (RT) (DER) edge_start: vertex; (RT) (DER) edge_end: vertex; |
seam_edge (TOPOLOGY_SCHEMA) |
Global rules for this entity data type- |
public interface EOriented_edge extends EEdgeedge_element (explicit attribute)boolean testEdge_element(EOriented_edge type)EEdge getEdge_element(EOriented_edge type) void setEdge_element(EOriented_edge type, EEdge value) void unsetEdge_element(EOriented_edge type) orientation (explicit attribute)boolean testOrientation(EOriented_edge type)boolean getOrientation(EOriented_edge type) void setOrientation(EOriented_edge type, boolean value) void unsetOrientation(EOriented_edge type) |
public class COriented_edge implements EOriented_edgestatic EAttribute attributeEdge_element(EOriented_edge type)static int usedinEdge_element(EOriented_edge type, EEdge instance, ASdaiModel domain, AOriented_edge result) static EAttribute attributeOrientation(EOriented_edge type) static EAttribute attributeEdge_start(EOriented_edge type) static int usedinEdge_start(EOriented_edge type, EVertex instance, ASdaiModel domain, AOriented_edge result) static EAttribute attributeEdge_end(EOriented_edge type) static int usedinEdge_end(EOriented_edge type, EVertex instance, ASdaiModel domain, AOriented_edge result) |
public class AOriented_edge extends AEntitypublic EOriented_edge getByIndex(int index)public EOriented_edge getCurrentMember(SdaiIterator it) |