DGtal
0.6.devel
Main Page
Related Pages
Modules
Namespaces
Data Structures
Examples
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
src
DGtal
topology
SurfelSetPredicate.ih
1
30
31
#include <cstdlib>
33
35
// IMPLEMENTATION of inline methods.
37
39
// ----------------------- Standard services ------------------------------
40
41
//------------------------------------------------------------------------------
42
template
<
typename
TSurfelSet,
typename
TSurfel>
43
inline
44
DGtal::SurfelSetPredicate<TSurfelSet, TSurfel>
45
::SurfelSetPredicate
(
const
SurfelSet
& aSet )
46
: mySet( &aSet )
47
{
48
}
49
//------------------------------------------------------------------------------
50
template
<
typename
TSurfelSet,
typename
TSurfel>
51
inline
52
DGtal::SurfelSetPredicate<TSurfelSet, TSurfel>
53
::SurfelSetPredicate
(
const
SurfelSetPredicate
& other )
54
: mySet( other.mySet )
55
{
56
}
57
//------------------------------------------------------------------------------
58
template
<
typename
TSurfelSet,
typename
TSurfel>
59
inline
60
DGtal::SurfelSetPredicate<TSurfelSet, TSurfel>
&
61
DGtal::SurfelSetPredicate<TSurfelSet, TSurfel>
62
::operator=
(
const
SurfelSetPredicate
& other )
63
{
64
mySet = other.
mySet
;
65
return
*
this
;
66
}
67
//------------------------------------------------------------------------------
68
template
<
typename
TSurfelSet,
typename
TSurfel>
69
inline
70
bool
71
DGtal::SurfelSetPredicate<TSurfelSet, TSurfel>
72
::operator()
(
const
Surfel
& s )
const
73
{
74
return
mySet->find( s ) != mySet->end();
75
}
76
//------------------------------------------------------------------------------
77
78
// //
80
81
Generated on Wed Dec 19 2012 19:10:37 for DGtal by
1.8.1.1