0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result
[occt.git] / src / BRepClass / BRepClass_FaceClassifier.hxx
CommitLineData
42cf5bc1 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
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_FaceClassifier_HeaderFile
18#define _BRepClass_FaceClassifier_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <BRepClass_FClassifier.hxx>
25#include <Standard_Real.hxx>
26class BRepClass_FaceExplorer;
27class gp_Pnt2d;
28class TopoDS_Face;
29class gp_Pnt;
30
31
32//! Provides Constructors with a Face.
33class BRepClass_FaceClassifier : public BRepClass_FClassifier
34{
35public:
36
37 DEFINE_STANDARD_ALLOC
38
39
40 //! Empty constructor, undefined algorithm.
41 Standard_EXPORT BRepClass_FaceClassifier();
42
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);
46
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);
50
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);
54
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);
58
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);
62
63
64
65
66protected:
67
68
69
70
71
72private:
73
74
75
76
77
78};
79
80
81
82
83
84
85
86#endif // _BRepClass_FaceClassifier_HeaderFile