Acoustic FDTD Solver
Main Page
Classes
Files
File List
File Members
include
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
:
12
CartPosition
lower
;
13
CartPosition
upper
;
14
public
:
15
Rectangle
();
20
Rectangle
(
const
double
y,
const
double
z,
const
double
b,
const
double
c);
21
Rectangle
(
const
CartPosition
&
lower
,
const
CartPosition
&
upper
);
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
Generated on Sun Jun 30 2013 00:04:08 for Acoustic FDTD Solver by
1.8.1.2