Go to the documentation of this file.
73 in >> static_cast<JPosition3D&>(sphere);
89 out << static_cast<const JPosition3D&>(sphere);
106 in >> static_cast<JPosition3D&>(sphere);
122 out << static_cast<const JPosition3D&>(sphere);
friend std::istream & operator>>(std::istream &in, JSphere3D &sphere)
Read sphere from input.
Interface for binary input.
JSphere3D(const JVector3D &pos, const double r)
Constructor.
double getRadius() const
Get radius.
friend JReader & operator>>(JReader &in, JSphere3D &sphere)
Read sphere from input.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
friend std::ostream & operator<<(std::ostream &out, const JSphere3D &sphere)
Write sphere to output.
Data structure for vector in three dimensions.
Data structure for position in three dimensions.
JSphere3D()
Default constructor.
Interface for binary output.
friend JWriter & operator<<(JWriter &out, const JSphere3D &sphere)
Write sphere to output.
Auxiliary classes and methods for 3D geometrical objects and operations.