21 {{2, 10, 7, 3},
true},
22 {{3, 11, 4, 0},
true},
27 {{4, 12, 16, 8},
true},
28 {{5, 13, 17, 9},
true},
29 {{4, 11, 19, 12},
true},
30 {{5, 8, 16, 13},
true},
31 {{7, 10, 18, 15},
true},
32 {{6, 9, 17, 14},
true},
33 {{7, 15, 19, 11},
true},
34 {{6, 14, 18, 10},
true},
35 {{13, 21, 17},
false},
36 {{12, 20, 16},
false},
37 {{15, 23, 19},
false},
38 {{14, 22, 18},
false},
39 {{14, 17, 21, 22},
true},
40 {{13, 16, 20, 21},
true},
41 {{12, 19, 23, 20},
true},
42 {{15, 18, 22, 23},
true},
43 {{20, 23, 22, 21},
true},
50 , m_removed_length(m_P[1])
54 std::ostringstream ostr;
55 ostr <<
"::CantellatedCube() -> Error in class initialization ";
56 ostr <<
"with parameters 'length':" <<
m_length;
58 ostr <<
"Check for removed_length <= 0.5*length failed.";
59 throw std::runtime_error(ostr.str());
65 {+c, -c, +a}, {+c, +c, +a}, {-c, +c, +a}, {-a, -c, +c},
66 {+c, -a, +c}, {+a, +c, +c}, {-c, +a, +c}, {-c, -a, +c},
67 {+a, -c, +c}, {+c, +a, +c}, {-a, +c, +c}, {-a, -c, -c},
68 {+c, -a, -c}, {+a, +c, -c}, {-c, +a, -c}, {-c, -a, -c},
69 {+a, -c, -c}, {+c, +a, -c}, {-a, +c, -c}, {-c, -c, -a},
70 {+c, -c, -a}, {+c, +c, -a}, {-c, +c, -a}});
Defines class CantellatedCube.
A cube, with truncation of all edges and corners, as in Croset (2017) Fig 7.
CantellatedCube(double length, double removed_length)
const double & m_removed_length
static const ff::PolyhedralTopology topology
void checkNodeArgs() const
Raises exception if a parameter value is invalid.