blob: f3236c06e536b5417e4bc530e5ea311ad01d64ef (
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
39
40
|
-- File: TopOpeBRepTool_HBoxTool.cdl
-- Created: Thu Jul 8 20:02:32 1993
-- Author: Jean Yves LEBEY
-- <jyl@zerox>
---Copyright: Matra Datavision 1993
class HBoxTool from TopOpeBRepTool inherits TShared from MMgt
uses
Box from Bnd,
Shape from TopoDS,
ShapeEnum from TopAbs,
IndexedDataMapOfShapeBox from TopOpeBRepTool
is
Create returns mutable HBoxTool from TopOpeBRepTool;
Clear(me:mutable);
AddBoxes(me:mutable;S:Shape;TS:ShapeEnum;TA:ShapeEnum=TopAbs_SHAPE);
AddBox(me:mutable;S:Shape);
ComputeBox(myclass;S:Shape;B:out Box from Bnd);
ComputeBoxOnVertices(myclass;S:Shape;B:out Box from Bnd);
DumpB(myclass;B:Box from Bnd);
Box(me:mutable;S:Shape) returns Box from Bnd;---C++: return const &
Box(me; I:Integer) returns Box from Bnd;---C++: return const &
HasBox(me; S:Shape) returns Boolean;
Shape(me; I:Integer) returns Shape;---C++: return const &
Index(me; S:Shape) returns Integer;
Extent(me) returns Integer;
ChangeIMS(me:mutable) returns IndexedDataMapOfShapeBox;---C++:return &
IMS(me) returns IndexedDataMapOfShapeBox;---C++:return const &
fields
myIMS:IndexedDataMapOfShapeBox from TopOpeBRepTool;
end HBoxTool;
|