20 #ifndef GEOS_MESH_SIMPLEGEOMETRICOBJECTS_RECTANGLE_HPP_
21 #define GEOS_MESH_SIMPLEGEOMETRICOBJECTS_RECTANGLE_HPP_
47 Group *
const parent );
60 const real64 newY,
const string & name,
Group *
const parent );
130 static constexpr
char const * originString() {
return "origin"; }
131 static constexpr
char const * dimensionsString() {
return "dimensions"; }
132 static constexpr
char const * toleranceString() {
return "tolerance"; }
Abstract class to implement functions used by all bounded geometric objects in GEOSX,...
Class to represent a geometric box in GEOSX.
Rectangle(const string &name, Group *const parent)
Constructor.
virtual void postInputInitialization() override final
This function provides the capability to post process input values prior to any other initialization ...
static string catalogName()
Get the catalog name.
virtual R1Tensor const & getCenter() const override final
Get the origin of the plane.
bool isCoordInObject(real64 const (&coord)[3]) const override final
Check if the input coordinates are in the object.
Rectangle(const real64 oldX, const real64 oldY, const real64 newX, const real64 newY, const string &name, Group *const parent)
Internal constructor. This is used to make planar cuts from point (oldX, oldY) to (newX,...
void findRectangleLimits()
Find the bounds of the plane.
virtual R1Tensor & getCenter() override final
Get the origin of the plane.
virtual ~Rectangle() override
Default destructor.
Array< T, 2, PERMUTATION > array2d
Alias for 2D array.
double real64
64-bit floating point type.
Array< T, 1 > array1d
Alias for 1D array.
Structure to hold scoped key names.