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

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

#include <GeomHash_CurveHasher.hxx>

Public Member Functions

 GeomHash_CurveHasher (double theCompTolerance=Precision::Angular(), double theHashTolerance=Precision::Confusion())
 
std::size_t operator() (const occ::handle< Geom_Curve > &theCurve) const noexcept
 
bool operator() (const occ::handle< Geom_Curve > &theCurve1, const occ::handle< Geom_Curve > &theCurve2) const noexcept
 

Data Fields

double CompTolerance
 
double HashTolerance
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GeomHash_CurveHasher()

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

Member Function Documentation

◆ operator()() [1/2]

std::size_t GeomHash_CurveHasher::operator() ( const occ::handle< Geom_Curve > & theCurve) const
noexcept

◆ operator()() [2/2]

bool GeomHash_CurveHasher::operator() ( const occ::handle< Geom_Curve > & theCurve1,
const occ::handle< Geom_Curve > & theCurve2 ) const
noexcept

Field Documentation

◆ CompTolerance

double GeomHash_CurveHasher::CompTolerance

◆ HashTolerance

double GeomHash_CurveHasher::HashTolerance

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