8 for (
unsigned int i = 0; i < Dim; ++i)
9 _backBottomLeft[i] = -std::numeric_limits<ScalarType>::infinity();
12 template <
class Po
int>
14 _backBottomLeft(backBottomLeft), _width(width)
18 template <
class Po
int>
24 template <
class Po
int>
30 template <
class Po
int>
34 for (
int i = 0; i < Dim; ++i)
41 template <
class Po
int>
50 template <
class Po
int>
56 for (
int i = 0; i < Dim; ++i)
62 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>
122 for (
unsigned int i = 0; i < Dim; ++i)
123 if (p[i] < _backBottomLeft[i] || p[i] > _backBottomLeft[i] + _width)
130 template <
class Po
int>
137 template <
class Po
int>
144 template <
class Po
int>
148 return _backBottomLeft;
151 template <
class Po
int>
155 _backBottomLeft = lbb;
158 template <
class Po
int>
162 Point p = _backBottomLeft;
163 for (
int i = 0; i < Dim; ++i)
165 if (!(
index & (1 << i)))
173 template <
class Po
int>
180 template <
class Po
int>
184 for (
unsigned int i = 0; i < Dim; ++i)
186 _backBottomLeft[i] -=
v;
191 template <
class Po
int>
204 else if (x[i] < cMax[i])
213 return (p - x).Length();
216 template <
class Po
int>
229 else if (x[i] < cMax[i])
238 return (p - x).SqrLength();
241 template <
class Po
int>
245 _backBottomLeft += t;
248 template <
class Po
int>
252 _backBottomLeft *=
s;