92 out << static_cast<const JPosition3D&>(sphere);
94 out << format << sphere.
__r;
125 out << static_cast<const JPosition3D&>(sphere);
JFormat_t & getFormat()
Get format for given type.
Data structure for position in three dimensions.
friend std::istream & operator>>(std::istream &in, JSphere3D &sphere)
Read sphere from input.
JSphere3D(const JVector3D &pos, const double r)
Constructor.
double getRadius() const
Get radius.
friend JWriter & operator<<(JWriter &out, const JSphere3D &sphere)
Write sphere to output.
JSphere3D()
Default constructor.
friend std::ostream & operator<<(std::ostream &out, const JSphere3D &sphere)
Write sphere to output.
friend JReader & operator>>(JReader &in, JSphere3D &sphere)
Read sphere from input.
Data structure for vector in three dimensions.
Interface for binary input.
Interface for binary output.
Auxiliary classes and methods for 3D geometrical objects and operations.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).