File indexing completed on 2026-09-28 09:20:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _GeomHash_Polygon3DHasher_HeaderFile
0015 #define _GeomHash_Polygon3DHasher_HeaderFile
0016
0017 #include <Precision.hxx>
0018 #include <Standard_Handle.hxx>
0019
0020 #include <cstddef>
0021
0022 class Poly_Polygon3D;
0023
0024 struct GeomHash_Polygon3DHasher
0025 {
0026 double CompTolerance;
0027 double HashTolerance;
0028
0029 Standard_EXPORT GeomHash_Polygon3DHasher(
0030 const double theCompTolerance = Precision::Computational(),
0031 const double theHashTolerance = Precision::Computational());
0032
0033 Standard_EXPORT std::size_t operator()(const occ::handle<Poly_Polygon3D>& thePoly) const noexcept;
0034
0035 Standard_EXPORT bool operator()(const occ::handle<Poly_Polygon3D>& thePoly1,
0036 const occ::handle<Poly_Polygon3D>& thePoly2) const noexcept;
0037 };
0038
0039 #endif