geo_pointset.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2011 Equinor ASA, Norway.
3
4 The file 'geo_pointset.h' is part of ERT - Ensemble based Reservoir Tool.
5
6 ERT is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 ERT is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.
14
15 See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
16 for more details.
17*/
18
19#ifndef ERT_GEO_POINTSET_H
20#define ERT_GEO_POINTSET_H
21
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27
28typedef struct geo_pointset_struct geo_pointset_type;
29
30
33 void geo_pointset_add_xyz( geo_pointset_type * pointset , double x , double y, double z);
35 void geo_pointset_iget_xy( const geo_pointset_type * pointset , int index , double * x , double * y);
36 const double * geo_pointset_get_zcoord( const geo_pointset_type * pointset );
37 bool geo_pointset_equal( const geo_pointset_type * pointset1 , const geo_pointset_type * pointset2);
38 double geo_pointset_iget_z( const geo_pointset_type * pointset , int index );
39 void geo_pointset_iset_z( geo_pointset_type * pointset , int index , double value);
40 void geo_pointset_memcpy( const geo_pointset_type * src, geo_pointset_type * target , bool copy_zdata);
41 void geo_pointset_shift_z( geo_pointset_type * pointset , double value );
42 void geo_pointset_assign_z( geo_pointset_type * pointset , double value );
43 void geo_pointset_scale_z( geo_pointset_type * pointset , double value );
44 void geo_pointset_imul( geo_pointset_type * pointset , const geo_pointset_type * other );
45 void geo_pointset_iadd( geo_pointset_type * pointset , const geo_pointset_type * other );
48
49#ifdef __cplusplus
50}
51#endif
52#endif
int index
Definition: cJSON.h:168
bool geo_pointset_equal(const geo_pointset_type *pointset1, const geo_pointset_type *pointset2)
geo_pointset_type * geo_pointset_alloc(bool external_z)
void geo_pointset_imul(geo_pointset_type *pointset, const geo_pointset_type *other)
const double * geo_pointset_get_zcoord(const geo_pointset_type *pointset)
void geo_pointset_iadd(geo_pointset_type *pointset, const geo_pointset_type *other)
void geo_pointset_shift_z(geo_pointset_type *pointset, double value)
void geo_pointset_iset_z(geo_pointset_type *pointset, int index, double value)
void geo_pointset_memcpy(const geo_pointset_type *src, geo_pointset_type *target, bool copy_zdata)
void geo_pointset_scale_z(geo_pointset_type *pointset, double value)
double geo_pointset_iget_z(const geo_pointset_type *pointset, int index)
struct geo_pointset_struct geo_pointset_type
Definition: geo_pointset.hpp:28
void geo_pointset_iget_xy(const geo_pointset_type *pointset, int index, double *x, double *y)
void geo_pointset_free(geo_pointset_type *pointset)
int geo_pointset_get_size(const geo_pointset_type *pointset)
void geo_pointset_add_xyz(geo_pointset_type *pointset, double x, double y, double z)
void geo_pointset_isub(geo_pointset_type *self, const geo_pointset_type *other)
void geo_pointset_isqrt(geo_pointset_type *pointset)
void geo_pointset_assign_z(geo_pointset_type *pointset, double value)
x y * z
Definition: exprtk.hpp:9663
T value(details::expression_node< T > *n)
Definition: exprtk.hpp:12955
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x(y+z)