Square frame for the tessellation. More...
#include <SquareBox.hpp>


Public Member Functions | |
| bool | AreWeReflective (Edge const &edge) const |
| Return wheter an edge is reflective or not. More... | |
| BoundaryType | GetBoundaryType (void) const |
| Returns the boundary type. More... | |
| bool | PointIsReflective (Vector2D const &point) const |
| Checks if the point is a reflected point outside the domain. More... | |
| double | GetGridBoundary (Directions dir) const |
| Returns the boundary coordinate. More... | |
| SquareBox (double left, double right, double up, double down) | |
| Class constructor. More... | |
| SquareBox (Vector2D const &bottom_left, Vector2D const &top_right) | |
| Class constructor. More... | |
| pair< Vector2D, Vector2D > | getBoundary (void) const |
| Returns the coordinates of the lower left and top right of the square frame. More... | |
| void | SetBoundary (Vector2D const &ll, Vector2D const &ur) |
Public Member Functions inherited from OuterBoundary | |
| vector< Edge > | GetBoxEdges (void) const |
| Returns the outer box as a set of edges in the order: Right, Up, Left and Down. All neighbors are set to zero. More... | |
Square frame for the tessellation.
Definition at line 15 of file SquareBox.hpp.
| SquareBox::SquareBox | ( | double | left, |
| double | right, | ||
| double | up, | ||
| double | down | ||
| ) |
Class constructor.
| left | The left coordinate |
| right | The right coordinate |
| up | The yp coordinate |
| down | The down coordinate |
Definition at line 27 of file SquareBox.cpp.
Class constructor.
| bottom_left | Coordinates of the bottom left corner |
| top_right | Coordinates of the top right corner |
Definition at line 33 of file SquareBox.cpp.
|
virtual |
Return wheter an edge is reflective or not.
| edge | The edge to check |
Implements OuterBoundary.
Definition at line 13 of file SquareBox.cpp.
Returns the coordinates of the lower left and top right of the square frame.
Definition at line 62 of file SquareBox.cpp.
|
virtual |
Returns the boundary type.
Implements OuterBoundary.
Definition at line 43 of file SquareBox.cpp.
|
virtual |
Returns the boundary coordinate.
| dir | The direction of the boundary |
Implements OuterBoundary.
Definition at line 48 of file SquareBox.cpp.
|
virtual |
Checks if the point is a reflected point outside the domain.
| point | The point to check |
Implements OuterBoundary.
Definition at line 4 of file SquareBox.cpp.
1.8.13