0022627: Change OCCT memory management defaults
[occt.git] / src / BRepFill / BRepFill_TrimSurfaceTool.cdl
CommitLineData
7fd59977 1-- File: BRepFill_TrimSurfaceTool.cdl
2-- Created: Fri Oct 21 11:45:39 1994
3-- Author: Bruno DUMORTIER
4-- <dub@fuegox>
5---Copyright: Matra Datavision 1994
6
7
8private class TrimSurfaceTool from BRepFill
9
10 ---Purpose:
11
12uses
13
14 Curve from Geom2d,
15 Curve from Geom,
16 Pnt2d from gp,
17 Face from TopoDS,
18 Edge from TopoDS,
19 SequenceOfPnt from TColgp,
20 Shape from GeomAbs
21
22raises
23 NoSuchObject from Standard
24
25is
26
27 Create(Bis : Curve from Geom2d;
28 Face1 : Face from TopoDS;
29 Face2 : Face from TopoDS;
30 Edge1 : Edge from TopoDS;
31 Edge2 : Edge from TopoDS;
32 Inv1 : Boolean from Standard;
33 Inv2 : Boolean from Standard)
34 returns TrimSurfaceTool from BRepFill;
35
36
37 IntersectWith(me; EdgeOnF1 : in Edge from TopoDS;
38 EdgeOnF2 : in Edge from TopoDS;
39 Points : in out SequenceOfPnt from TColgp )
40 ---Purpose: Intersect <Bis> with the projection of the edges
41 -- <EdgeOnFi> and returns the intersecting parameters
42 -- on Bis and on the edges
43 -- P.X() : Parameter on Bis
44 -- P.Y() : Parameter on EdgeOnF1
45 -- P.Z() : Parameter on EdgeOnF2
46 raises
47 NoSuchObject from Standard
48 ---Purpose: raises if <Edge> is not a edge of Face1 or Face2.
49 is static;
50
51
52 IsOnFace(me; Point : Pnt2d from gp)
53 returns Boolean from Standard
54 ---Purpose: returns True if the Line (P, DZ) intersect the Faces
55 is static;
56
57 ProjOn(me; Point : Pnt2d from gp;
58 Edge : Edge from TopoDS)
59 returns Real from Standard
60 ---Purpose: returns the parameter of the point <Point> on the
61 -- Edge <Edge>, assuming that the point is on the edge.
62 is static;
63
64
65 Project(me;
66 U1, U2 : Real from Standard;
67 Curve : out Curve from Geom;
68 PCurve1, PCurve2 : out Curve from Geom2d;
69 myCont : out Shape from GeomAbs)
70 ---Purpose:
71 is static;
72
73fields
74
75 myFace1 : Face from TopoDS;
76 myFace2 : Face from TopoDS;
77 myEdge1 : Edge from TopoDS;
78 myEdge2 : Edge from TopoDS;
79 myInv1 : Boolean from Standard;
80 myInv2 : Boolean from Standard;
81 myBis : Curve from Geom2d;
82
83end TrimSurfaceTool;