Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
GeomHash_SurfaceHasher Struct Reference

Polymorphic hasher for Geom_Surface using RTTI dispatch. Used for geometry deduplication. More...

#include <GeomHash_SurfaceHasher.hxx>

Public Member Functions

 GeomHash_SurfaceHasher (double theCompTolerance=Precision::Angular(), double theHashTolerance=Precision::Confusion())
 
std::size_t operator() (const occ::handle< Geom_Surface > &theSurface) const noexcept
 
bool operator() (const occ::handle< Geom_Surface > &theSurface1, const occ::handle< Geom_Surface > &theSurface2) const noexcept
 

Data Fields

double CompTolerance
 
double HashTolerance
 

Detailed Description

Polymorphic hasher for Geom_Surface using RTTI dispatch. Used for geometry deduplication.

Constructor & Destructor Documentation

◆ GeomHash_SurfaceHasher()

GeomHash_SurfaceHasher::GeomHash_SurfaceHasher ( double theCompTolerance = Precision::Angular(),
double theHashTolerance = Precision::Confusion() )

Member Function Documentation

◆ operator()() [1/2]

std::size_t GeomHash_SurfaceHasher::operator() ( const occ::handle< Geom_Surface > & theSurface) const
noexcept

◆ operator()() [2/2]

bool GeomHash_SurfaceHasher::operator() ( const occ::handle< Geom_Surface > & theSurface1,
const occ::handle< Geom_Surface > & theSurface2 ) const
noexcept

Field Documentation

◆ CompTolerance

double GeomHash_SurfaceHasher::CompTolerance

◆ HashTolerance

double GeomHash_SurfaceHasher::HashTolerance

The documentation for this struct was generated from the following file: