0024624: Lost word in license statement in source files
[occt.git] / src / BRepFill / BRepFill_TrimSurfaceTool.cdl
CommitLineData
b311480e 1-- Created on: 1994-10-21
2-- Created by: Bruno DUMORTIER
3-- Copyright (c) 1994-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17private class TrimSurfaceTool from BRepFill
18
19 ---Purpose:
20
21uses
22
23 Curve from Geom2d,
24 Curve from Geom,
25 Pnt2d from gp,
26 Face from TopoDS,
27 Edge from TopoDS,
28 SequenceOfPnt from TColgp,
29 Shape from GeomAbs
30
31raises
32 NoSuchObject from Standard
33
34is
35
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;
44
45
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
55 raises
56 NoSuchObject from Standard
57 ---Purpose: raises if <Edge> is not a edge of Face1 or Face2.
58 is static;
59
60
61 IsOnFace(me; Point : Pnt2d from gp)
62 returns Boolean from Standard
63 ---Purpose: returns True if the Line (P, DZ) intersect the Faces
64 is static;
65
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.
71 is static;
72
73
74 Project(me;
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)
79 ---Purpose:
80 is static;
81
82fields
83
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;
91
92end TrimSurfaceTool;