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

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

#include <Geom2dHash_CurveHasher.hxx>

Public Member Functions

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

Data Fields

double CompTolerance
 
double HashTolerance
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Geom2dHash_CurveHasher()

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

Member Function Documentation

◆ operator()() [1/2]

std::size_t Geom2dHash_CurveHasher::operator() ( const occ::handle< Geom2d_Curve > & theCurve) const
noexcept

◆ operator()() [2/2]

bool Geom2dHash_CurveHasher::operator() ( const occ::handle< Geom2d_Curve > & theCurve1,
const occ::handle< Geom2d_Curve > & theCurve2 ) const
noexcept

Field Documentation

◆ CompTolerance

double Geom2dHash_CurveHasher::CompTolerance

◆ HashTolerance

double Geom2dHash_CurveHasher::HashTolerance

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