45 out <<
"Polygon, " << NofVertices() <<
" vertices:" << std::endl;
46 for (
int i = 0; i < NofVertices(); i++) {
47 out <<
" (" << Vertex(i).first <<
", " << Vertex(i).second <<
")";
49 out <<
" mm" << std::endl;
51 out <<
"Planes:" << std::endl;
52 for (
int i = 0; i < NofZSections(); i++) {
53 out <<
" z = " << ZPosition(i) <<
" mm "
54 <<
" x0 = " << Offset(i).first <<
" mm "
55 <<
" y0 = " << Offset(i).second <<
" mm "
56 <<
" scale= " << Scale(i) << std::endl;
std::ostream & operator<<(std::ostream &out, const VGM::IExtrudedSolid &xtru)
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
virtual ~VExtrudedSolid()
The VGM interface to extruded solids.
The VGM interface to solids.