#include "HepPolyhedron.h"
#include "G4PhysicalConstants.hh"
#include "G4Vector3D.hh"
#include <cstdlib>
#include <cmath>
#include <cassert>
#include "BooleanProcessor.src"
#include "HepPolyhedronProcessor.src"
Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
ostr, |
|
|
const G4Facet & |
facet |
|
) |
| |
Definition at line 86 of file HepPolyhedron.cc.
87 for (
G4int k=0; k<4; k++) {
88 ostr <<
" " << facet.edge[k].v <<
"/" << facet.edge[k].f;
std::ostream& operator<< |
( |
std::ostream & |
ostr, |
|
|
const HepPolyhedron & |
ph |
|
) |
| |
Definition at line 93 of file HepPolyhedron.cc.
95 ostr <<
"Nvertices=" << ph.
nvert <<
", Nfacets=" << ph.
nface << std::endl;
97 for (i=1; i<=ph.
nvert; i++) {
98 ostr <<
"xyz(" << i <<
")="
99 << ph.
pV[i].
x() <<
' ' << ph.
pV[i].
y() <<
' ' << ph.
pV[i].
z()
102 for (i=1; i<=ph.
nface; i++) {
103 ostr <<
"face(" << i <<
")=" << ph.
pF[i] << std::endl;