5 template<
class Po
int >
9 for (
unsigned int i = 0; i < Dim; ++i)
11 -std::numeric_limits< ScalarType >::infinity();
14 template<
class Po
int >
16 : _backBottomLeft(backBottomLeft)
20 template<
class Po
int >
26 template<
class Po
int >
32 template<
class Po
int >
36 for (
int i = 0; i < Dim; ++i)
44 template<
class Po
int >
52 template<
class Po
int >
57 for (
int i = 0; i < Dim; ++i)
63 template<
class Po
int >
68 for (
int i = 0; i < Dim; ++i)
70 _backBottomLeft[i] -= r;
74 template<
class Po
int >
78 cube->_backBottomLeft = _backBottomLeft;
80 for (
int i = 0; i < Dim; ++i)
82 if (!(box & (1 << i)))
84 cube->_backBottomLeft[i] += r;
90 template<
class Po
int >
99 for (
unsigned int i = 0; i < NCorners; ++i)
101 Point p = _backBottomLeft;
102 for (
int j = 0; j < Dim; ++j)
109 if (p == cube._backBottomLeft)
118 template<
class Po
int >
121 for (
unsigned int i = 0; i < Dim; ++i)
122 if (p[i] < _backBottomLeft[i] || p[i] > _backBottomLeft[i] + _width)
129 template<
class Po
int >
136 template<
class Po
int >
142 template<
class Po
int >
145 return _backBottomLeft;
148 template<
class Po
int >
151 _backBottomLeft = lbb;
154 template<
class Po
int >
157 Point p = _backBottomLeft;
158 for (
int i = 0; i < Dim; ++i)
160 if (!(
index & (1 << i)))
168 template<
class Po
int >
175 template<
class Po
int >
178 for (
unsigned int i = 0; i < Dim; ++i)
180 _backBottomLeft[i] -=
v;
185 template<
class Po
int >
198 else if (x[i] < cMax[i])
207 return (p - x).Length();
210 template<
class Po
int >
223 else if (x[i] < cMax[i])
232 return (p - x).SqrLength();
235 template<
class Po
int >
238 _backBottomLeft += t;
241 template<
class Po
int >
244 _backBottomLeft *=
s;