MeshKernel
GeometryList.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 namespace meshkernelapi
31 {
33  struct GeometryList
34  {
37 
40 
42  int num_coordinates = 0;
43 
45  double* coordinates_x = nullptr;
46 
48  double* coordinates_y = nullptr;
49 
51  double* values = nullptr;
52  };
53 } // namespace meshkernelapi
meshkernelapi::GeometryList::coordinates_x
double * coordinates_x
The x coordinate values.
Definition: GeometryList.hpp:45
meshkernelapi::GeometryList::values
double * values
The values at the point.
Definition: GeometryList.hpp:51
meshkernelapi::GeometryList
A struct used to describe a list of geometries in a C-compatible manner.
Definition: GeometryList.hpp:33
meshkernelapi::GeometryList::coordinates_y
double * coordinates_y
The y coordinate values.
Definition: GeometryList.hpp:48
meshkernelapi::GeometryList::num_coordinates
int num_coordinates
The number of coordinate values present.
Definition: GeometryList.hpp:42
meshkernelapi::GeometryList::inner_outer_separator
double inner_outer_separator
The value used to separate the inner part of a polygon from its outer part.
Definition: GeometryList.hpp:39
meshkernelapi
Contains all structs and functions exposed at the API level.
Definition: BoundingBox.hpp:32
meshkernelapi::GeometryList::geometry_separator
double geometry_separator
The value used as separator in coordinates_x, coordinates_y and values.
Definition: GeometryList.hpp:36