|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Describes a sphere in space. More...
#include <Box.hpp>

Public Member Functions | |
| Box (CoordinateSystemPtr cs, LengthType const x, LengthType const y, LengthType const z) | |
| Box (CoordinateSystemPtr cs, LengthType const side) | |
| bool | contains (Point const &p) const override |
| returns true if the Point p is within the sphere | |
| Point const & | getCenter () const |
| CoordinateSystemPtr const | getCoordinateSystem () const |
| LengthType const | getX () const |
| LengthType const | getY () const |
| LengthType const | getZ () const |
| std::string | asString () const |
| template<typename TDim > | |
| void | rotate (QuantityVector< TDim > const &axis, double const angle) |
Protected Attributes | |
| Point | center_ |
| CoordinateSystemPtr | cs_ |
| LengthType | x_ |
| LengthType | y_ |
| LengthType | z_ |
Describes a sphere in space.
The center point and the orintation of the Box is set by a CoordinateSystemPtr at construction.