-- File: TopOpeBRepDS_TOOL.cdl -- Created: Mon Jan 25 14:23:13 1999 -- Author: Xuan PHAM PHU -- ---Copyright: Matra Datavision 1999 class TOOL from TopOpeBRepDS uses Edge from TopoDS, Shape from TopoDS, ListOfShape from TopTools, Config from TopOpeBRepDS, HDataStructure from TopOpeBRepDS, DataMapOfShapeListOfShapeOn1State from TopOpeBRepDS is EShareG(myclass; HDS : HDataStructure; E: Edge from TopoDS; lEsd : out ListOfShape from TopTools) returns Integer; -- Fills up with edges sharing geometric domain with , -- using interferences attached to . -- Returns 's length. ShareG(myclass; HDS : HDataStructure; is1,is2 : Integer) returns Boolean; -- Returns true if shapes and share geometric domain. GetEsd(myclass; HDS : HDataStructure; S : Shape; ie : Integer; iesd : out Integer) returns Boolean; -- Gets edge in shape , edge shares geometric domain with edge -- Returns true if is found ShareSplitON(myclass; HDS : HDataStructure; MspON : DataMapOfShapeListOfShapeOn1State; i1, i2 : Integer; spON : out Shape) returns Boolean; -- Gets splitON shared by shapes an (shapes same domain) -- Returns true if is found. GetConfig(myclass; HDS : HDataStructure; MEspON : DataMapOfShapeListOfShapeOn1State; ie, iesd : Integer; conf : out Integer) returns Boolean; -- Gives relative orientation conf = 1 : SAMEORIENTED -- 2 : DIFFORIENTED. -- edges , are same domain. -- Returns true if is found. end TOOL;