blob: f45047395e5e3a239ec44ffdbab1dedeb9a78b45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
-- File: TopOpeBRepTool_AncestorsTool.cdl
-- Created: Thu Aug 12 16:35:21 1993
-- Author: Jean Yves LEBEY
-- <jyl@phobox>
---Copyright: Matra Datavision 1993
class AncestorsTool from TopOpeBRepTool
-- as AncestorsTool from TopOpeInter
-- (Shape from TopoDS,
-- IndexedDataMapOfShapeListOfShape from TopTools)
---Purpose: Describes the ancestors tool needed by
-- the class DSFiller from TopOpeInter.
--
-- This class has been created because it is not possible
-- to instantiate the argument TheAncestorsTool (of
-- DSFiller from TopOpeInter) with a package (TopExp)
-- giving services as package methods.
uses
Shape from TopoDS,
ShapeEnum from TopAbs,
IndexedDataMapOfShapeListOfShape from TopTools
is
MakeAncestors(myclass;
S : Shape from TopoDS;
TS : ShapeEnum from TopAbs;
TA : ShapeEnum from TopAbs;
M : in out IndexedDataMapOfShapeListOfShape from TopTools);
---Purpose: same as package method TopExp::MapShapeListOfShapes()
end AncestorsTool;
|