1 // Created on: 1993-05-28
2 // Created by: Modelistation
3 // Copyright (c) 1993-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 _BRepClass_FaceClassifier_HeaderFile
18 #define _BRepClass_FaceClassifier_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <BRepClass_FClassifier.hxx>
25 #include <Standard_Real.hxx>
26 class BRepClass_FaceExplorer;
32 //! Provides Constructors with a Face.
33 class BRepClass_FaceClassifier : public BRepClass_FClassifier
40 //! Empty constructor, undefined algorithm.
41 Standard_EXPORT BRepClass_FaceClassifier();
43 //! Creates an algorithm to classify the Point P with
44 //! Tolerance <T> on the face described by <F>.
45 Standard_EXPORT BRepClass_FaceClassifier(BRepClass_FaceExplorer& F, const gp_Pnt2d& P, const Standard_Real Tol);
47 //! Creates an algorithm to classify the Point P with
48 //! Tolerance <T> on the face <F>.
49 Standard_EXPORT BRepClass_FaceClassifier(const TopoDS_Face& F, const gp_Pnt2d& P, const Standard_Real Tol);
51 //! Classify the Point P with Tolerance <T> on the
52 //! face described by <F>.
53 Standard_EXPORT void Perform (const TopoDS_Face& F, const gp_Pnt2d& P, const Standard_Real Tol);
55 //! Creates an algorithm to classify the Point P with
56 //! Tolerance <T> on the face <F>.
57 Standard_EXPORT BRepClass_FaceClassifier(const TopoDS_Face& F, const gp_Pnt& P, const Standard_Real Tol);
59 //! Classify the Point P with Tolerance <T> on the
60 //! face described by <F>.
61 Standard_EXPORT void Perform (const TopoDS_Face& F, const gp_Pnt& P, const Standard_Real Tol);
86 #endif // _BRepClass_FaceClassifier_HeaderFile