DGtal 2.1.0
Loading...
Searching...
No Matches
UnorderedPointSetPredicate Struct Reference

Public Types

typedef DGtal::Z3i::Point Point
 
typedef DGtal::Z3i::Point Point
 

Public Member Functions

 UnorderedPointSetPredicate (const std::unordered_set< Point > &S)
 
bool operator() (const Point &p) const
 
 UnorderedPointSetPredicate (const std::unordered_set< Point > &S)
 
bool operator() (const Point &p) const
 

Data Fields

const std::unordered_set< Point > * myS
 

Detailed Description

Definition at line 87 of file tangency-explorer.cpp.

Member Typedef Documentation

◆ Point [1/2]

◆ Point [2/2]

Constructor & Destructor Documentation

◆ UnorderedPointSetPredicate() [1/2]

UnorderedPointSetPredicate::UnorderedPointSetPredicate ( const std::unordered_set< Point > &  S)
inlineexplicit

Definition at line 91 of file tangency-explorer.cpp.

92 : myS( &S ) {}
const std::unordered_set< Point > * myS

◆ UnorderedPointSetPredicate() [2/2]

UnorderedPointSetPredicate::UnorderedPointSetPredicate ( const std::unordered_set< Point > &  S)
inlineexplicit

Definition at line 247 of file tangency-reconstruction.cpp.

248 : myS( &S ) {}

Member Function Documentation

◆ operator()() [1/2]

bool UnorderedPointSetPredicate::operator() ( const Point p) const
inline

Definition at line 93 of file tangency-explorer.cpp.

94 { return myS->count( p ) != 0; }

References myS.

◆ operator()() [2/2]

bool UnorderedPointSetPredicate::operator() ( const Point p) const
inline

Definition at line 249 of file tangency-reconstruction.cpp.

250 { return myS->count( p ) != 0; }

References myS.

Field Documentation

◆ myS

const std::unordered_set< Point > * UnorderedPointSetPredicate::myS

Definition at line 90 of file tangency-explorer.cpp.

Referenced by operator()().


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