8 #ifndef IMPALGEBRA_CYLINDER_3D_H
9 #define IMPALGEBRA_CYLINDER_3D_H
21 IMPALGEBRA_BEGIN_NAMESPACE
30 double get_radius()
const {
return radius_;}
47 (
double relative_height,
66 (
double relative_height,
67 double relative_radius,
72 {out << s_ <<
": " << radius_;});
80 return 2.0*
PI*g.get_radius()
81 * g.get_segment().get_length()
82 + 2.0*
PI *get_squared(g.get_radius()),
83 return PI *get_squared(g.get_radius())
84 * g.get_segment().get_length(),
87 IMPALGEBRA_END_NAMESPACE