Loading [MathJax]/extensions/TeX/AMSsymbols.js
DGtal
1.4.2
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
Variables
a
d
e
f
h
i
l
n
o
p
t
w
x
Typedefs
a
b
c
d
e
i
k
l
n
o
p
r
s
u
v
z
Enumerations
Enumerator
a
b
c
d
e
g
h
i
j
l
m
n
o
p
s
t
u
v
w
z
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
c
e
f
h
i
l
m
n
o
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
l
m
o
p
r
s
t
u
v
x
y
z
Related Symbols
a
b
c
d
e
f
g
i
k
l
m
o
p
s
t
u
Examples
►
DGtal
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
CEuclideanBoundedShape.h
1
17
#pragma once
18
31
#if defined(CEuclideanBoundedShape_RECURSES)
32
#error Recursive header files inclusion detected in CEuclideanBoundedShape.h
33
#else
// defined(CEuclideanBoundedShape_RECURSES)
35
#define CEuclideanBoundedShape_RECURSES
36
37
#if !defined CEuclideanBoundedShape_h
39
#define CEuclideanBoundedShape_h
40
42
// Inclusions
43
#include <iostream>
44
#include "boost/concept_check.hpp"
45
#include "DGtal/base/Common.h"
46
47
#include "DGtal/kernel/domains/CDomain.h"
48
#include "DGtal/kernel/CSpace.h"
50
51
namespace
DGtal
52
{
53
namespace
concepts
54
{
56
// class CEuclideanBoundedShape
95
template
<
typename
TShape>
96
struct
CEuclideanBoundedShape
97
{
98
// ----------------------- Concept checks ------------------------------
99
public
:
100
101
typedef
typename
TShape::RealPoint
RealPoint
;
102
103
BOOST_CONCEPT_USAGE
(
CEuclideanBoundedShape
)
104
{
105
// Shape should have a getUpperBound() returning a Point.
106
ConceptUtils::sameType
(
myP
,
myT
.getUpperBound() );
107
// Shape should have a getLowerBound() returning a Point.
108
ConceptUtils::sameType
(
myP
,
myT
.getLowerBound() );
109
}
103
BOOST_CONCEPT_USAGE
(
CEuclideanBoundedShape
) {
…
}
110
111
// ------------------------- Private Datas --------------------------------
112
private
:
113
TShape
myT
;
114
RealPoint
myP
;
115
116
};
// end of concept CEuclideanBoundedShape
96
struct
CEuclideanBoundedShape
{
…
};
117
}
118
}
// namespace DGtal
119
120
121
// //
123
124
#endif
// !defined CEuclideanBoundedShape_h
125
126
#undef CEuclideanBoundedShape_RECURSES
127
#endif
// else defined(CEuclideanBoundedShape_RECURSES)
DGtal::concepts::ConceptUtils::sameType
void sameType(const T &, const T &)
Definition
ConceptUtils.h:117
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::concepts::CEuclideanBoundedShape
Definition
CEuclideanBoundedShape.h:97
DGtal::concepts::CEuclideanBoundedShape::RealPoint
TShape::RealPoint RealPoint
Definition
CEuclideanBoundedShape.h:101
DGtal::concepts::CEuclideanBoundedShape::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CEuclideanBoundedShape)
Definition
CEuclideanBoundedShape.h:103
DGtal::concepts::CEuclideanBoundedShape::myT
TShape myT
Definition
CEuclideanBoundedShape.h:113
DGtal::concepts::CEuclideanBoundedShape::myP
RealPoint myP
Definition
CEuclideanBoundedShape.h:114
src
DGtal
shapes
CEuclideanBoundedShape.h
Generated on Mon Dec 23 2024 11:13:35 for DGtal by
1.12.0