15 namespace JGEOMETRY3D {}
16 namespace JPP {
using namespace JGEOMETRY3D; }
18 namespace JGEOMETRY3D {
89 out << static_cast<const JPosition3D&>(sphere);
122 out << static_cast<const JPosition3D&>(sphere);
Interface for binary output.
friend JWriter & operator<<(JWriter &out, const JSphere3D &sphere)
Write sphere to output.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
friend std::istream & operator>>(std::istream &in, JSphere3D &sphere)
Read sphere from input.
friend std::ostream & operator<<(std::ostream &out, const JSphere3D &sphere)
Write sphere to output.
Data structure for vector in three dimensions.
JSphere3D()
Default constructor.
Interface for binary input.
double getRadius() const
Get radius.
friend JReader & operator>>(JReader &in, JSphere3D &sphere)
Read sphere from input.
Data structure for position in three dimensions.
JSphere3D(const JVector3D &pos, const double r)
Constructor.