-- File: TopOpeBRepTool_connexity.cdl -- Created: Wed Dec 9 14:19:52 1998 -- Author: Xuan PHAM PHU -- ---Copyright: Matra Datavision 1998 class connexity from TopOpeBRepTool uses Shape from TopoDS, ListOfShape from TopTools, Array1OfListOfShape from TopTools is Create returns connexity from TopOpeBRepTool; Create (Key : Shape from TopoDS) returns connexity from TopOpeBRepTool; SetKey (me : in out; Key : Shape from TopoDS); Key (me) returns Shape from TopoDS; ---C++: return const & Item(me; OriKey : Integer; Item : out ListOfShape from TopTools) returns Integer; -- if is oriented in all shapes of , returns -- the 's length. AllItems(me; Item : out ListOfShape from TopTools) returns Integer; -- returns all items attached to AddItem(me : in out; OriKey : Integer; Item : ListOfShape from TopTools); AddItem(me : in out; OriKey : Integer; Item : Shape from TopoDS); RemoveItem(me : in out; OriKey : Integer; Item : Shape from TopoDS) returns Boolean; -- returns true if is stored in the list. RemoveItem(me : in out; Item : Shape from TopoDS) returns Boolean; ChangeItem(me : in out; OriKey : Integer) returns ListOfShape from TopTools; ---C++: return & IsMultiple(me) returns Boolean; -- returns true if is multiple. IsFaulty(me) returns Boolean; IsInternal(me; Item : out ListOfShape from TopTools) returns Integer; -- is INTERNAL in shapes of oriented FORWARD. fields theKey : Shape from TopoDS; theItems : Array1OfListOfShape from TopTools; -- is FORWARD in shapes of theItems(1) -- is REVERSED in shapes of theItems(2) -- is INTERNAL in shapes of theItems(3) -- is EXTERNAL in shapes of theItems(4) -- appears FORWARD and REVERSED in shapes of theItems(5) end connexity;