Acoustic FDTD Solver
Rectangle.hpp
Go to the documentation of this file.
1 #ifndef RECTANGLE_HPP
2 #define RECTANGLE_HPP
3 
4 #include "Shape.hpp"
5 
6 
10 class Rectangle:public Shape {
11 public:
14 public:
15  Rectangle();
20  Rectangle(const double y, const double z, const double b, const double c);
22  Rectangle(const Rectangle &the_rectangle);
23  CartPosition getUpper() const;
24  CartPosition getLower() const;
25  double getXLength() const;
26  double getYLength() const;
27  double getZLength() const;
28  double getLargestLength() const;
29  unsigned getType() const;
30  std::vector<unsigned> getDimension(const Grid &grid) const;
31  Rectangle * clone() const;
32  std::vector<std::vector<unsigned> > getCoordinateIndex(const Grid &grid) const;
33  ~Rectangle();
34 };
35 
36 #endif