26 #ifndef AXISYMMETRICINTERSECTIONOFWALLS_H
27 #define AXISYMMETRICINTERSECTIONOFWALLS_H
80 void read(std::istream& is)
final;
85 void write(std::ostream& os)
const final;
90 std::string
getName()
const final;
A IntersectionOfWalls is convex polygon defined as an intersection of InfiniteWall's.
void write(std::ostream &os) const final
outputs wall
bool getDistanceAndNormal(const BaseParticle &P, Mdouble &distance, Vec3D &normal_return) const final
Computes the distance from the wall for a given BaseParticle and returns true if there is a collision...
BaseInteraction * getInteractionWith(BaseParticle *P, Mdouble timeStamp, InteractionHandler *interactionHandler) final
Get the interaction between this AxisymmetricIntersectionOfWalls and a given BaseParticle at a given ...
std::string getName() const final
Returns the name of the object.
Stores information about interactions between two interactable objects; often particles but could be ...
AxisymmetricIntersectionOfWalls * copy() const final
Wall copy method. It calls the copy constructor of this Wall, useful for polymorphism.
Container to store Interaction objects.
AxisymmetricIntersectionOfWalls & operator=(const AxisymmetricIntersectionOfWalls &other)
Copy assignment operator.
void read(std::istream &is) final
reads wall
~AxisymmetricIntersectionOfWalls()
Destructor.
AxisymmetricIntersectionOfWalls()
Default constructor.
A AxisymmetricIntersectionOfWalls is a axisymmetric wall, defined by rotating a twodimensional Inters...
Implementation of a 3D vector (by Vitaliy).