46 const unsigned NUMVTX = 27;
47 const double vertex_coords[3 * NUMVTX] = {
48 0, 0, 0, 1, 0, 0, 2, 0, 0, 0, 1, 0, 1, 1, 0, 2, 1, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0,
50 0, 0, 1, 1, 0, 1, 2, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 0, 2, 1, 1, 2, 1, 2, 2, 1,
52 0, 0, 2, 1, 0, 2, 2, 0, 2, 0, 1, 2, 1, 1, 2, 2, 1, 2, 0, 2, 2, 1, 2, 2, 2, 2, 2 };
88 for( i = 0; i < 2; ++i )
89 for( j = 0; j < 2; ++j )
90 for( k = 0; k < 2; ++k )
92 std::cout <<
"Hex (" << i <<
"," << j <<
"," << k <<
") "
93 <<
"has handle: " << scdbox->
get_element( i, j, k ) << std::endl;
97 for( i = 0; i < 3; ++i )
98 for( j = 0; j < 3; ++j )
99 for( k = 0; k < 3; ++k )
101 std::cout <<
"Vertex (" << i <<
"," << j <<
"," << k <<
") "
102 <<
"has handle: " << scdbox->
get_vertex( i, j, k ) << std::endl;