49 double min_step_size)
const {
53 points.insert(
size[2]);
57 double length =
size[2];
59 double step = length /
steps;
60 for (
unsigned i = 0; i <=
steps; ++i) points.insert(i * step);
62 }
else if ((this->
c == 0. || this->
s == 0.) && this->
materialProvider->isUniform(direction)) {
64 points.insert(
size[
size_t(direction)]);
69 const size_t dir = size_t(direction);
71 std::sort(coords, coords + 4);
72 double total = coords[3] - coords[0];
73 for (
size_t i = 0; i < 3; ++i) {
74 if (coords[i] != coords[i + 1]) points.insert(coords[i]);
75 double len = coords[i + 1] - coords[i];
77 size_t n = size_t(
dn);
79 double step =
len /
dn;
85 for (
size_t j = 1; j <
n; ++j) points.insert(coords[i] + j * step);
88 points.insert(coords[3]);