1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
occt/src/BRepAlgo/BRepAlgo_FaceRestrictor.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

101 lines
3.3 KiB
Plaintext

-- Created on: 1995-09-01
-- Created by: Yves FRICAUD
-- Copyright (c) 1995-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
class FaceRestrictor from BRepAlgo
---Purpose: Builds all the faces limited with a set of non
-- jointing and planars wires. if
-- <ControlOrientation> is false The Wires must have
-- correct orientations. Sinon orientation des wires
-- de telle sorte que les faces ne soient pas infinies
-- et qu'elles soient disjointes.
uses
Wire from TopoDS,
Face from TopoDS,
ListOfShape from TopTools,
DataMapOfShapeListOfShape from TopTools
is
Create returns FaceRestrictor from BRepAlgo;
Init (me : in out;
F : Face from TopoDS;
Proj : Boolean from Standard = Standard_False;
ControlOrientation : Boolean from Standard = Standard_False)
---Purpose: the surface of <F> will be the the surface of each new
-- faces built.
-- <Proj> is used to update pcurves on edges if necessary.
-- See Add().
is static;
Add( me : in out;
W : in out Wire from TopoDS)
---Purpose: Add the wire <W> to the set of wires.
--
-- Warning:
-- The Wires must be closed.
--
-- The edges of <W> can be modified if they have not pcurves
-- on the surface <S> of <F>. In this case
-- if <Proj> is false the first pcurve of the edge
-- is positionned on <S>.
-- if <Proj> is True ,the Pcurve On <S> is the
-- projection of the curve 3d on <F>.
is static;
Clear(me : in out)
---Purpose: Removes all the Wires
is static;
Perform( me : in out)
---Purpose: Evaluate all the faces limited by the set of Wires.
is static;
IsDone( me)
returns Boolean from Standard
is static;
More( me)
returns Boolean from Standard
is static;
Next( me : in out)
is static;
Current(me)
returns Face from TopoDS
is static;
PerformWithCorrection( me : in out)
---Purpose: Evaluate all the faces limited by the set of Wires.
is static private;
fields
myDone : Boolean from Standard;
modeProj : Boolean from Standard;
myFace : Face from TopoDS;
wires : ListOfShape from TopTools;
faces : ListOfShape from TopTools;
myCorrection : Boolean from Standard;
keyIsIn : DataMapOfShapeListOfShape from TopTools;
keyContains : DataMapOfShapeListOfShape from TopTools;
end FaceRestrictor;