1 -- File: BlockFix_PeriodicSurfaceModifier.cdl
2 -- Created: Wed Dec 15 10:03:50 2004
4 -- <skl@strelox.nnov.matra-dtv.fr>
5 ---Copyright: Open CASCADE SA 2004
7 class PeriodicSurfaceModifier from BlockFix inherits Modification from BRepTools
21 IndexedMapOfTransient from TColStd,
22 DataMapOfShapeInteger from TopTools
26 Create returns mutable PeriodicSurfaceModifier from BlockFix;
28 SetTolerance(me: mutable; Toler: Real);
29 ---Purpose: Sets the tolerance for recognition of geometry
31 NewSurface(me: mutable; F : Face from TopoDS;
32 S : out Surface from Geom;
33 L : out Location from TopLoc;
34 Tol: out Real from Standard;
35 RevWires : out Boolean from Standard;
36 RevFace : out Boolean from Standard)
37 returns Boolean from Standard;
38 ---Purpose: Returns Standard_True if the face <F> has been
39 -- modified. In this case, <S> is the new geometric
40 -- support of the face, <L> the new location, <Tol>
41 -- the new tolerance. Otherwise, returns
42 -- Standard_False, and <S>, <L>, <Tol> are not
45 NewCurve(me: mutable; E : Edge from TopoDS;
46 C : out Curve from Geom;
47 L : out Location from TopLoc;
48 Tol: out Real from Standard)
49 returns Boolean from Standard;
50 ---Purpose: Returns Standard_True if the edge <E> has been
51 -- modified. In this case, <C> is the new geometric
52 -- support of the edge, <L> the new location, <Tol>
53 -- the new tolerance. Otherwise, returns
54 -- Standard_False, and <C>, <L>, <Tol> are not
57 NewPoint(me: mutable; V : Vertex from TopoDS;
59 Tol: out Real from Standard)
60 returns Boolean from Standard;
61 ---Purpose: Returns Standard_True if the vertex <V> has been
62 -- modified. In this case, <P> is the new geometric
63 -- support of the vertex, <Tol> the new tolerance.
64 -- Otherwise, returns Standard_False, and <P>, <Tol>
65 -- are not significant.
67 NewCurve2d(me: mutable; E : Edge from TopoDS;
69 NewE : Edge from TopoDS;
70 NewF : Face from TopoDS;
71 C : out Curve from Geom2d;
72 Tol : out Real from Standard)
73 returns Boolean from Standard;
74 ---Purpose: Returns Standard_True if the edge <E> has a new
75 -- curve on surface on the face <F>.In this case, <C>
76 -- is the new geometric support of the edge, <L> the
77 -- new location, <Tol> the new tolerance.
79 -- Otherwise, returns Standard_False, and <C>, <L>,
80 -- <Tol> are not significant.
82 -- <NewE> is the new edge created from <E>. <NewF>
83 -- is the new face created from <F>. They may be usefull.
85 NewParameter(me: mutable; V : Vertex from TopoDS;
87 P : out Real from Standard;
88 Tol: out Real from Standard)
89 returns Boolean from Standard;
90 ---Purpose: Returns Standard_True if the Vertex <V> has a new
91 -- parameter on the edge <E>. In this case, <P> is
92 -- the parameter, <Tol> the new tolerance.
93 -- Otherwise, returns Standard_False, and <P>, <Tol>
94 -- are not significant.
96 Continuity(me: mutable; E : Edge from TopoDS;
97 F1,F2 : Face from TopoDS;
98 NewE : Edge from TopoDS;
99 NewF1,NewF2: Face from TopoDS)
100 returns Shape from GeomAbs;
101 ---Purpose: Returns the continuity of <NewE> between <NewF1>
104 -- <NewE> is the new edge created from <E>. <NewF1>
105 -- (resp. <NewF2>) is the new face created from <F1>
112 myMapOfFaces : DataMapOfShapeInteger from TopTools;
113 myMapOfSurfaces: IndexedMapOfTransient from TColStd;
115 end PeriodicSurfaceModifier;