1 #include "StiCylindricalShape.h"
4 ostream& operator<<(ostream& os,
const StiShape& m)
6 os <<
"StiShape: " << endl
8 <<
" ShapeCode: "<< m.getShapeCode()
9 <<
" HalfDepth (dZ): " << m.getHalfDepth()
10 <<
" HalfWidth (dY): " << m.getHalfWidth();
12 if (m.getShapeCode() == kCylindrical) {
14 os <<
" OuterRadius: "<< cyl->getOuterRadius()
15 <<
" OpeningAngle: "<< cyl->getOpeningAngle();
18 os <<
" Thickness (2*dX): " << m.getThickness()
19 <<
" EdgeWidth: " << m.getEdgeWidth()
const string & getName() const
Get the name of the object.