0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / BRepClass / BRepClass_FClassifier.hxx
CommitLineData
42cf5bc1 1// Created on: 1992-11-18
2// Created by: Remi LEQUETTE
3// Copyright (c) 1992-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
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.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _BRepClass_FClassifier_HeaderFile
18#define _BRepClass_FClassifier_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <BRepClass_FClass2dOfFClassifier.hxx>
25#include <BRepClass_Edge.hxx>
26#include <Standard_Real.hxx>
27#include <IntRes2d_Position.hxx>
28#include <Standard_Boolean.hxx>
29#include <TopAbs_State.hxx>
30class Standard_DomainError;
31class BRepClass_FaceExplorer;
32class BRepClass_Edge;
33class BRepClass_Intersector;
34class BRepClass_FClass2dOfFClassifier;
35class gp_Pnt2d;
36
37
38
39class BRepClass_FClassifier
40{
41public:
42
43 DEFINE_STANDARD_ALLOC
44
45
46 Standard_EXPORT BRepClass_FClassifier();
47
48 Standard_EXPORT BRepClass_FClassifier(BRepClass_FaceExplorer& F, const gp_Pnt2d& P, const Standard_Real Tol);
49
50 Standard_EXPORT void Perform (BRepClass_FaceExplorer& F, const gp_Pnt2d& P, const Standard_Real Tol);
51
52 Standard_EXPORT TopAbs_State State() const;
53
54 Standard_Boolean Rejected() const;
55
56 Standard_Boolean NoWires() const;
57
58 Standard_EXPORT const BRepClass_Edge& Edge() const;
59
60 Standard_EXPORT Standard_Real EdgeParameter() const;
61
62 IntRes2d_Position Position() const;
63
64
65
66
67protected:
68
69
70
71 BRepClass_FClass2dOfFClassifier myClassifier;
72 BRepClass_Edge myEdge;
73 Standard_Real myEdgeParameter;
74 IntRes2d_Position myPosition;
75 Standard_Boolean rejected;
76 Standard_Boolean nowires;
77
78
79private:
80
81
82
83
84
85};
86
87#define TheFaceExplorer BRepClass_FaceExplorer
88#define TheFaceExplorer_hxx <BRepClass_FaceExplorer.hxx>
89#define TheEdge BRepClass_Edge
90#define TheEdge_hxx <BRepClass_Edge.hxx>
91#define TheIntersection2d BRepClass_Intersector
92#define TheIntersection2d_hxx <BRepClass_Intersector.hxx>
93#define TopClass_FClass2d BRepClass_FClass2dOfFClassifier
94#define TopClass_FClass2d_hxx <BRepClass_FClass2dOfFClassifier.hxx>
95#define TopClass_FaceClassifier BRepClass_FClassifier
96#define TopClass_FaceClassifier_hxx <BRepClass_FClassifier.hxx>
97
98#include <TopClass_FaceClassifier.lxx>
99
100#undef TheFaceExplorer
101#undef TheFaceExplorer_hxx
102#undef TheEdge
103#undef TheEdge_hxx
104#undef TheIntersection2d
105#undef TheIntersection2d_hxx
106#undef TopClass_FClass2d
107#undef TopClass_FClass2d_hxx
108#undef TopClass_FaceClassifier
109#undef TopClass_FaceClassifier_hxx
110
111
112
113
114#endif // _BRepClass_FClassifier_HeaderFile