Go to the documentation of this file.
4 #ifndef tools_hep_sf_polyhedron
5 #define tools_hep_sf_polyhedron
10 #include "../io/iwbuf"
11 #include "../io/irbuf"
23 int nvert =
m_value.GetNoVertices();
24 int nface =
m_value.GetNoFacets();
25 double* ds =
new double[1+3*nvert+1+8*nface];
30 for(
int index=1;index<=nvert;index++) {
40 for(
int index=1;index<=nface;index++) {
42 for(
int i=0;i<4;i++) {
59 if(!a_buffer.
read_vec(sz,ds))
return false;
63 int nvert = (int)ds[di];di++;
65 for(
int index=1;index<=nvert;index++) {
72 int nface = (int)ds[di];di++;
75 for(
int index=1;index<=nface;index++) {
77 for(
int i=0;i<8;i++) {
78 v[i] = (int)ds[di];di++;
87 mem::decrement(s_new().c_str());
92 virtual bool dump(std::ostream&) {
95 virtual bool s_value(std::string& a_s)
const {a_s.clear();
return false;}
96 virtual bool s2value(
const std::string&) {
return false;}
#define TOOLS_HEADER(a__class, a__sclass, a__parent)