22 {{0, 3, 5, 17, 15, 12, 14, 2},
true},
23 {{4, 10, 11, 23, 22, 16, 17, 5},
true},
24 {{1, 2, 14, 13, 19, 20, 8, 7},
true},
25 {{6, 8, 20, 18, 21, 23, 11, 9},
true},
26 {{15, 17, 16},
false},
27 {{12, 13, 14},
false},
28 {{18, 20, 19},
false},
29 {{21, 22, 23},
false},
30 {{12, 15, 16, 22, 21, 18, 19, 13},
true}},
36 , m_removed_length(m_P[1])
40 std::ostringstream ostr;
41 ostr <<
"::TruncatedCube() -> Error in class initialization ";
42 ostr <<
"with parameters 'length':" <<
m_length;
44 ostr <<
"Check for removed_length <= 0.5*length failed.";
45 throw std::runtime_error(ostr.str());
52 {{-c, -a, -a}, {-a, -c, -a}, {-a, -a, -c}, {c, -a, -a}, {a, -c, -a}, {a, -a, -c},
53 {-c, a, -a}, {-a, c, -a}, {-a, a, -c}, {c, a, -a}, {a, c, -a}, {a, a, -c},
54 {-c, -a, a}, {-a, -c, a}, {-a, -a, c}, {c, -a, a}, {a, -c, a}, {a, -a, c},
55 {-c, a, a}, {-a, c, a}, {-a, a, c}, {c, a, a}, {a, c, a}, {a, a, c}});
Defines class TruncatedCube.
void checkNodeArgs() const
Raises exception if a parameter value is invalid.
A cube, with tetrahedral truncation of all corners.
const double & m_removed_length
static const ff::PolyhedralTopology topology
TruncatedCube(double length, double removed_length)