MeshKernel
BoundingBox.hpp
1 //---- GPL ---------------------------------------------------------------------
2 //
3 // Copyright (C) Stichting Deltares, 2011-2021.
4 //
5 // This program is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation version 3.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
16 //
17 // contact: delft3d.support@deltares.nl
18 // Stichting Deltares
19 // P.O. Box 177
20 // 2600 MH Delft, The Netherlands
21 //
22 // All indications and logos of, and references to, "Delft3D" and "Deltares"
23 // are registered trademarks of Stichting Deltares, and remain the property of
24 // Stichting Deltares. All rights reserved.
25 //
26 //------------------------------------------------------------------------------
27 
28 #pragma once
29 
30 #include <limits>
31 
32 namespace meshkernelapi
33 {
35  struct BoundingBox
36  {
38  double xLowerLeft = std::numeric_limits<double>::lowest();
39 
41  double yLowerLeft = std::numeric_limits<double>::lowest();
42 
44  double xUpperRight = std::numeric_limits<double>::max();
45 
47  double yUpperRight = std::numeric_limits<double>::max();
48  };
49 } // namespace meshkernelapi
meshkernelapi::BoundingBox::xUpperRight
double xUpperRight
The bounding box upper right x coordinate.
Definition: BoundingBox.hpp:44
meshkernelapi::BoundingBox::xLowerLeft
double xLowerLeft
The bounding box lower left x coordinate.
Definition: BoundingBox.hpp:38
meshkernelapi::BoundingBox::yLowerLeft
double yLowerLeft
The bounding box lower left y coordinate.
Definition: BoundingBox.hpp:41
meshkernelapi::BoundingBox
A struct describing a bounding box.
Definition: BoundingBox.hpp:35
meshkernelapi
Contains all structs and functions exposed at the API level.
Definition: BoundingBox.hpp:32
meshkernelapi::BoundingBox::yUpperRight
double yUpperRight
The bounding box upper right y coordinate.
Definition: BoundingBox.hpp:47