7fd59977 |
1 | -- File: BRepFill_TrimEdgeTool.cdl |
2 | -- Created: Mon Apr 24 16:15:45 1995 |
3 | -- Author: Bruno DUMORTIER |
4 | -- <dub@fuegox> |
5 | ---Copyright: Matra Datavision 1995 |
6 | |
7 | |
8 | private class TrimEdgeTool from BRepFill |
9 | |
10 | ---Purpose: |
11 | |
12 | uses |
13 | |
14 | Bisec from Bisector, |
15 | Edge from TopoDS, |
16 | Pnt2d from gp, |
17 | Curve from Geom2d, |
18 | Geometry from Geom2d, |
19 | SequenceOfPnt from TColgp, |
20 | Curve from Geom2dAdaptor |
21 | |
22 | is |
23 | Create |
24 | returns TrimEdgeTool from BRepFill; |
25 | |
26 | Create( Bisec : Bisec from Bisector; |
27 | S1, S2 : Geometry from Geom2d; |
28 | Offset : Real from Standard) |
29 | returns TrimEdgeTool from BRepFill; |
30 | |
31 | IntersectWith( me : in out; |
32 | Edge1 , Edge2 : Edge from TopoDS; |
33 | Params : in out SequenceOfPnt from TColgp) |
34 | is static; |
35 | |
36 | AddOrConfuse ( me ; |
37 | Start : Boolean from Standard; |
38 | Edge1 , Edge2 : Edge from TopoDS; |
39 | Params : in out SequenceOfPnt from TColgp) |
40 | is static; |
41 | |
42 | |
43 | IsInside( me; P : Pnt2d from gp) |
44 | returns Boolean from Standard |
45 | is static; |
46 | |
47 | |
48 | |
49 | fields |
50 | isPoint1 : Boolean from Standard; |
51 | isPoint2 : Boolean from Standard; |
52 | myP1 : Pnt2d from gp; |
53 | myP2 : Pnt2d from gp; |
54 | myC1 : Curve from Geom2d; |
55 | myC2 : Curve from Geom2d; |
56 | myOffset : Real from Standard; |
57 | myBisec : Bisec from Bisector; |
58 | myBis : Curve from Geom2dAdaptor; |
59 | end TrimEdgeTool; |