1 // Created on: 1995-12-21
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1995-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 #ifndef _TopOpeBRepBuild_EdgeBuilder_HeaderFile
18 #define _TopOpeBRepBuild_EdgeBuilder_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <TopOpeBRepBuild_Area1dBuilder.hxx>
25 #include <Standard_Boolean.hxx>
26 #include <Standard_Real.hxx>
27 class TopOpeBRepBuild_PaveSet;
28 class TopOpeBRepBuild_PaveClassifier;
29 class TopOpeBRepBuild_LoopSet;
30 class TopOpeBRepBuild_LoopClassifier;
35 class TopOpeBRepBuild_EdgeBuilder : public TopOpeBRepBuild_Area1dBuilder
42 Standard_EXPORT TopOpeBRepBuild_EdgeBuilder();
44 //! Creates a EdgeBuilder to find the areas of
45 //! the shapes described by <LS> using the classifier <LC>.
46 Standard_EXPORT TopOpeBRepBuild_EdgeBuilder(TopOpeBRepBuild_PaveSet& LS, TopOpeBRepBuild_PaveClassifier& LC, const Standard_Boolean ForceClass = Standard_False);
48 Standard_EXPORT void InitEdgeBuilder (TopOpeBRepBuild_LoopSet& LS, TopOpeBRepBuild_LoopClassifier& LC, const Standard_Boolean ForceClass = Standard_False);
50 Standard_EXPORT void InitEdge();
52 Standard_EXPORT Standard_Boolean MoreEdge() const;
54 Standard_EXPORT void NextEdge();
56 Standard_EXPORT void InitVertex();
58 Standard_EXPORT Standard_Boolean MoreVertex() const;
60 Standard_EXPORT void NextVertex();
62 Standard_EXPORT const TopoDS_Shape& Vertex() const;
64 Standard_EXPORT Standard_Real Parameter() const;
89 #endif // _TopOpeBRepBuild_EdgeBuilder_HeaderFile