CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::Sphere Class Reference

Describes a sphere in space. More...

#include <Sphere.hpp>

Inheritance diagram for corsika::Sphere:

Public Member Functions

 Sphere (Point const &pCenter, LengthType const pRadius)
 
bool contains (Point const &p) const override
 returns true if the Point p is within the sphere
 
Point const & getCenter () const
 
void setCenter (Point const &)
 
LengthType getRadius () const
 
void setRadius (LengthType const)
 
CoordinateSystemPtr const getCoordinateSystem () const
 
std::string asString () const
 

Detailed Description

Describes a sphere in space.

Definition at line 23 of file Sphere.hpp.


The documentation for this class was generated from the following file: