#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.
◆ operator<<() [1/2]
std::ostream& operator<< |
( |
std::ostream & |
ostr, |
|
|
const G4Facet & |
facet |
|
) |
| |
◆ operator<<() [2/2]
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;
◆ spatialTolerance