summaryrefslogtreecommitdiff
path: root/src/IntPatch/IntPatch_PolygoTool.cdl
blob: 489dd4e92d5c261b26b383ac486f8bba2fba3a99 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
-- File:	IntPatch_PolygoTool.cdl
-- Created:	Thu May  6 17:50:02 1993
-- Author:	Jacques GOUSSARD
--		<jag@form4>
---Copyright:	 Matra Datavision 1993


 
class PolygoTool from IntPatch

       	---Purpose: Tool an a polygon to instantiates the Interference
       	--          between 2 polygons.


uses Box2d  from Bnd,
     Pnt2d  from gp,
     Polygo from IntPatch
 

is

    Bounding (myclass; Line : Polygo from IntPatch )

    	returns Box2d from Bnd;
        ---C++: return const &
	---C++: inline


    DeflectionOverEstimation(myclass; Line :Polygo from IntPatch)

    	returns Real from Standard;
	---C++: inline
                         	    	          

    Closed(myclass; Line : Polygo from IntPatch )

    	returns Boolean from Standard;
	---C++: inline


    NbSegments(myclass; Line : Polygo from IntPatch )

    	returns Integer from Standard;
	---C++: inline


    BeginOfSeg(myclass; Line  : Polygo from IntPatch;
                        Index : Integer from Standard)

    	returns Pnt2d from gp;
	---C++: inline


    EndOfSeg(myclass; Line  : Polygo from IntPatch ;
                      Index : Integer from Standard)

    	returns Pnt2d from gp;
	---C++: inline


    Dump(myclass; Line  : Polygo from IntPatch);
    

end PolygoTool;