1 -- Created on: 1994-10-21
2 -- Created by: Bruno DUMORTIER
3 -- Copyright (c) 1994-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 private class TrimSurfaceTool from BRepFill
28 SequenceOfPnt from TColgp,
32 NoSuchObject from Standard
36 Create(Bis : Curve from Geom2d;
37 Face1 : Face from TopoDS;
38 Face2 : Face from TopoDS;
39 Edge1 : Edge from TopoDS;
40 Edge2 : Edge from TopoDS;
41 Inv1 : Boolean from Standard;
42 Inv2 : Boolean from Standard)
43 returns TrimSurfaceTool from BRepFill;
46 IntersectWith(me; EdgeOnF1 : in Edge from TopoDS;
47 EdgeOnF2 : in Edge from TopoDS;
48 Points : in out SequenceOfPnt from TColgp )
49 ---Purpose: Intersect <Bis> with the projection of the edges
50 -- <EdgeOnFi> and returns the intersecting parameters
51 -- on Bis and on the edges
52 -- P.X() : Parameter on Bis
53 -- P.Y() : Parameter on EdgeOnF1
54 -- P.Z() : Parameter on EdgeOnF2
56 NoSuchObject from Standard
57 ---Purpose: raises if <Edge> is not a edge of Face1 or Face2.
61 IsOnFace(me; Point : Pnt2d from gp)
62 returns Boolean from Standard
63 ---Purpose: returns True if the Line (P, DZ) intersect the Faces
66 ProjOn(me; Point : Pnt2d from gp;
67 Edge : Edge from TopoDS)
68 returns Real from Standard
69 ---Purpose: returns the parameter of the point <Point> on the
70 -- Edge <Edge>, assuming that the point is on the edge.
75 U1, U2 : Real from Standard;
76 Curve : out Curve from Geom;
77 PCurve1, PCurve2 : out Curve from Geom2d;
78 myCont : out Shape from GeomAbs)
84 myFace1 : Face from TopoDS;
85 myFace2 : Face from TopoDS;
86 myEdge1 : Edge from TopoDS;
87 myEdge2 : Edge from TopoDS;
88 myInv1 : Boolean from Standard;
89 myInv2 : Boolean from Standard;
90 myBis : Curve from Geom2d;