xtgeo 4.14.1__cp313-cp313-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. cxtgeo.py +558 -0
  2. cxtgeoPYTHON_wrap.c +19537 -0
  3. xtgeo/__init__.py +248 -0
  4. xtgeo/_cxtgeo.cp313-win_amd64.pyd +0 -0
  5. xtgeo/_internal.cp313-win_amd64.pyd +0 -0
  6. xtgeo/common/__init__.py +19 -0
  7. xtgeo/common/_angles.py +29 -0
  8. xtgeo/common/_xyz_enum.py +50 -0
  9. xtgeo/common/calc.py +396 -0
  10. xtgeo/common/constants.py +30 -0
  11. xtgeo/common/exceptions.py +42 -0
  12. xtgeo/common/log.py +93 -0
  13. xtgeo/common/sys.py +166 -0
  14. xtgeo/common/types.py +18 -0
  15. xtgeo/common/version.py +34 -0
  16. xtgeo/common/xtgeo_dialog.py +604 -0
  17. xtgeo/cube/__init__.py +9 -0
  18. xtgeo/cube/_cube_export.py +214 -0
  19. xtgeo/cube/_cube_import.py +532 -0
  20. xtgeo/cube/_cube_roxapi.py +180 -0
  21. xtgeo/cube/_cube_utils.py +287 -0
  22. xtgeo/cube/_cube_window_attributes.py +273 -0
  23. xtgeo/cube/cube1.py +1023 -0
  24. xtgeo/grid3d/__init__.py +15 -0
  25. xtgeo/grid3d/_ecl_grid.py +778 -0
  26. xtgeo/grid3d/_ecl_inte_head.py +152 -0
  27. xtgeo/grid3d/_ecl_logi_head.py +71 -0
  28. xtgeo/grid3d/_ecl_output_file.py +81 -0
  29. xtgeo/grid3d/_egrid.py +1004 -0
  30. xtgeo/grid3d/_find_gridprop_in_eclrun.py +625 -0
  31. xtgeo/grid3d/_grdecl_format.py +309 -0
  32. xtgeo/grid3d/_grdecl_grid.py +400 -0
  33. xtgeo/grid3d/_grid3d.py +29 -0
  34. xtgeo/grid3d/_grid3d_fence.py +284 -0
  35. xtgeo/grid3d/_grid3d_utils.py +228 -0
  36. xtgeo/grid3d/_grid_boundary.py +76 -0
  37. xtgeo/grid3d/_grid_etc1.py +1683 -0
  38. xtgeo/grid3d/_grid_export.py +222 -0
  39. xtgeo/grid3d/_grid_hybrid.py +50 -0
  40. xtgeo/grid3d/_grid_import.py +79 -0
  41. xtgeo/grid3d/_grid_import_ecl.py +101 -0
  42. xtgeo/grid3d/_grid_import_roff.py +135 -0
  43. xtgeo/grid3d/_grid_import_xtgcpgeom.py +375 -0
  44. xtgeo/grid3d/_grid_refine.py +258 -0
  45. xtgeo/grid3d/_grid_roxapi.py +292 -0
  46. xtgeo/grid3d/_grid_translate_coords.py +154 -0
  47. xtgeo/grid3d/_grid_wellzone.py +165 -0
  48. xtgeo/grid3d/_gridprop_export.py +202 -0
  49. xtgeo/grid3d/_gridprop_import_eclrun.py +164 -0
  50. xtgeo/grid3d/_gridprop_import_grdecl.py +132 -0
  51. xtgeo/grid3d/_gridprop_import_roff.py +52 -0
  52. xtgeo/grid3d/_gridprop_import_xtgcpprop.py +168 -0
  53. xtgeo/grid3d/_gridprop_lowlevel.py +171 -0
  54. xtgeo/grid3d/_gridprop_op1.py +272 -0
  55. xtgeo/grid3d/_gridprop_roxapi.py +301 -0
  56. xtgeo/grid3d/_gridprop_value_init.py +140 -0
  57. xtgeo/grid3d/_gridprops_import_eclrun.py +344 -0
  58. xtgeo/grid3d/_gridprops_import_roff.py +83 -0
  59. xtgeo/grid3d/_roff_grid.py +470 -0
  60. xtgeo/grid3d/_roff_parameter.py +303 -0
  61. xtgeo/grid3d/grid.py +3010 -0
  62. xtgeo/grid3d/grid_properties.py +699 -0
  63. xtgeo/grid3d/grid_property.py +1313 -0
  64. xtgeo/grid3d/types.py +15 -0
  65. xtgeo/interfaces/rms/__init__.py +18 -0
  66. xtgeo/interfaces/rms/_regular_surface.py +460 -0
  67. xtgeo/interfaces/rms/_rms_base.py +100 -0
  68. xtgeo/interfaces/rms/_rmsapi_package.py +69 -0
  69. xtgeo/interfaces/rms/rmsapi_utils.py +438 -0
  70. xtgeo/io/__init__.py +1 -0
  71. xtgeo/io/_file.py +603 -0
  72. xtgeo/metadata/__init__.py +17 -0
  73. xtgeo/metadata/metadata.py +435 -0
  74. xtgeo/roxutils/__init__.py +7 -0
  75. xtgeo/roxutils/_roxar_loader.py +54 -0
  76. xtgeo/roxutils/_roxutils_etc.py +122 -0
  77. xtgeo/roxutils/roxutils.py +207 -0
  78. xtgeo/surface/__init__.py +20 -0
  79. xtgeo/surface/_regsurf_boundary.py +26 -0
  80. xtgeo/surface/_regsurf_cube.py +210 -0
  81. xtgeo/surface/_regsurf_cube_window.py +391 -0
  82. xtgeo/surface/_regsurf_cube_window_v2.py +297 -0
  83. xtgeo/surface/_regsurf_cube_window_v3.py +360 -0
  84. xtgeo/surface/_regsurf_export.py +388 -0
  85. xtgeo/surface/_regsurf_grid3d.py +275 -0
  86. xtgeo/surface/_regsurf_gridding.py +347 -0
  87. xtgeo/surface/_regsurf_ijxyz_parser.py +278 -0
  88. xtgeo/surface/_regsurf_import.py +347 -0
  89. xtgeo/surface/_regsurf_lowlevel.py +122 -0
  90. xtgeo/surface/_regsurf_oper.py +538 -0
  91. xtgeo/surface/_regsurf_utils.py +81 -0
  92. xtgeo/surface/_surfs_import.py +43 -0
  93. xtgeo/surface/_zmap_parser.py +138 -0
  94. xtgeo/surface/regular_surface.py +3043 -0
  95. xtgeo/surface/surfaces.py +276 -0
  96. xtgeo/well/__init__.py +24 -0
  97. xtgeo/well/_blockedwell_roxapi.py +241 -0
  98. xtgeo/well/_blockedwells_roxapi.py +68 -0
  99. xtgeo/well/_well_aux.py +30 -0
  100. xtgeo/well/_well_io.py +327 -0
  101. xtgeo/well/_well_oper.py +483 -0
  102. xtgeo/well/_well_roxapi.py +304 -0
  103. xtgeo/well/_wellmarkers.py +486 -0
  104. xtgeo/well/_wells_utils.py +158 -0
  105. xtgeo/well/blocked_well.py +220 -0
  106. xtgeo/well/blocked_wells.py +134 -0
  107. xtgeo/well/well1.py +1516 -0
  108. xtgeo/well/wells.py +211 -0
  109. xtgeo/xyz/__init__.py +6 -0
  110. xtgeo/xyz/_polygons_oper.py +272 -0
  111. xtgeo/xyz/_xyz.py +758 -0
  112. xtgeo/xyz/_xyz_data.py +646 -0
  113. xtgeo/xyz/_xyz_io.py +737 -0
  114. xtgeo/xyz/_xyz_lowlevel.py +42 -0
  115. xtgeo/xyz/_xyz_oper.py +613 -0
  116. xtgeo/xyz/_xyz_roxapi.py +766 -0
  117. xtgeo/xyz/points.py +698 -0
  118. xtgeo/xyz/polygons.py +827 -0
  119. xtgeo-4.14.1.dist-info/METADATA +146 -0
  120. xtgeo-4.14.1.dist-info/RECORD +122 -0
  121. xtgeo-4.14.1.dist-info/WHEEL +5 -0
  122. xtgeo-4.14.1.dist-info/licenses/LICENSE.md +165 -0
cxtgeo.py ADDED
@@ -0,0 +1,558 @@
1
+ # This file was automatically generated by SWIG (https://www.swig.org).
2
+ # Version 4.2.1
3
+ #
4
+ # Do not make changes to this file unless you know what you are doing - modify
5
+ # the SWIG interface file instead.
6
+
7
+ from sys import version_info as _swig_python_version_info
8
+ # Import the low-level C/C++ module
9
+ if __package__ or "." in __name__:
10
+ from . import _cxtgeo
11
+ else:
12
+ import _cxtgeo
13
+
14
+ try:
15
+ import builtins as __builtin__
16
+ except ImportError:
17
+ import __builtin__
18
+
19
+ def _swig_repr(self):
20
+ try:
21
+ strthis = "proxy of " + self.this.__repr__()
22
+ except __builtin__.Exception:
23
+ strthis = ""
24
+ return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
25
+
26
+
27
+ def _swig_setattr_nondynamic_instance_variable(set):
28
+ def set_instance_attr(self, name, value):
29
+ if name == "this":
30
+ set(self, name, value)
31
+ elif name == "thisown":
32
+ self.this.own(value)
33
+ elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
34
+ set(self, name, value)
35
+ else:
36
+ raise AttributeError("You cannot add instance attributes to %s" % self)
37
+ return set_instance_attr
38
+
39
+
40
+ def _swig_setattr_nondynamic_class_variable(set):
41
+ def set_class_attr(cls, name, value):
42
+ if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
43
+ set(cls, name, value)
44
+ else:
45
+ raise AttributeError("You cannot add class attributes to %s" % cls)
46
+ return set_class_attr
47
+
48
+
49
+ def _swig_add_metaclass(metaclass):
50
+ """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
51
+ def wrapper(cls):
52
+ return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
53
+ return wrapper
54
+
55
+
56
+ class _SwigNonDynamicMeta(type):
57
+ """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
58
+ __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
59
+
60
+
61
+ euclid_length_cb_ptr = _cxtgeo.euclid_length_cb_ptr
62
+ euclid_length = _cxtgeo.euclid_length
63
+ horizontal_length_cb_ptr = _cxtgeo.horizontal_length_cb_ptr
64
+ horizontal_length = _cxtgeo.horizontal_length
65
+ east_west_vertical_length_cb_ptr = _cxtgeo.east_west_vertical_length_cb_ptr
66
+ east_west_vertical_length = _cxtgeo.east_west_vertical_length
67
+ north_south_vertical_length_cb_ptr = _cxtgeo.north_south_vertical_length_cb_ptr
68
+ north_south_vertical_length = _cxtgeo.north_south_vertical_length
69
+ x_projection_cb_ptr = _cxtgeo.x_projection_cb_ptr
70
+ x_projection = _cxtgeo.x_projection
71
+ y_projection_cb_ptr = _cxtgeo.y_projection_cb_ptr
72
+ y_projection = _cxtgeo.y_projection
73
+ z_projection_cb_ptr = _cxtgeo.z_projection_cb_ptr
74
+ z_projection = _cxtgeo.z_projection
75
+
76
+ def new_intpointer():
77
+ return _cxtgeo.new_intpointer()
78
+
79
+ def copy_intpointer(value):
80
+ return _cxtgeo.copy_intpointer(value)
81
+
82
+ def delete_intpointer(obj):
83
+ return _cxtgeo.delete_intpointer(obj)
84
+
85
+ def intpointer_assign(obj, value):
86
+ return _cxtgeo.intpointer_assign(obj, value)
87
+
88
+ def intpointer_value(obj):
89
+ return _cxtgeo.intpointer_value(obj)
90
+
91
+ def new_longpointer():
92
+ return _cxtgeo.new_longpointer()
93
+
94
+ def copy_longpointer(value):
95
+ return _cxtgeo.copy_longpointer(value)
96
+
97
+ def delete_longpointer(obj):
98
+ return _cxtgeo.delete_longpointer(obj)
99
+
100
+ def longpointer_assign(obj, value):
101
+ return _cxtgeo.longpointer_assign(obj, value)
102
+
103
+ def longpointer_value(obj):
104
+ return _cxtgeo.longpointer_value(obj)
105
+
106
+ def new_floatpointer():
107
+ return _cxtgeo.new_floatpointer()
108
+
109
+ def copy_floatpointer(value):
110
+ return _cxtgeo.copy_floatpointer(value)
111
+
112
+ def delete_floatpointer(obj):
113
+ return _cxtgeo.delete_floatpointer(obj)
114
+
115
+ def floatpointer_assign(obj, value):
116
+ return _cxtgeo.floatpointer_assign(obj, value)
117
+
118
+ def floatpointer_value(obj):
119
+ return _cxtgeo.floatpointer_value(obj)
120
+
121
+ def new_doublepointer():
122
+ return _cxtgeo.new_doublepointer()
123
+
124
+ def copy_doublepointer(value):
125
+ return _cxtgeo.copy_doublepointer(value)
126
+
127
+ def delete_doublepointer(obj):
128
+ return _cxtgeo.delete_doublepointer(obj)
129
+
130
+ def doublepointer_assign(obj, value):
131
+ return _cxtgeo.doublepointer_assign(obj, value)
132
+
133
+ def doublepointer_value(obj):
134
+ return _cxtgeo.doublepointer_value(obj)
135
+
136
+ def new_charpointer():
137
+ return _cxtgeo.new_charpointer()
138
+
139
+ def copy_charpointer(value):
140
+ return _cxtgeo.copy_charpointer(value)
141
+
142
+ def delete_charpointer(obj):
143
+ return _cxtgeo.delete_charpointer(obj)
144
+
145
+ def charpointer_assign(obj, value):
146
+ return _cxtgeo.charpointer_assign(obj, value)
147
+
148
+ def charpointer_value(obj):
149
+ return _cxtgeo.charpointer_value(obj)
150
+
151
+ def new_intarray(nelements):
152
+ return _cxtgeo.new_intarray(nelements)
153
+
154
+ def delete_intarray(ary):
155
+ return _cxtgeo.delete_intarray(ary)
156
+
157
+ def intarray_getitem(ary, index):
158
+ return _cxtgeo.intarray_getitem(ary, index)
159
+
160
+ def intarray_setitem(ary, index, value):
161
+ return _cxtgeo.intarray_setitem(ary, index, value)
162
+
163
+ def new_longarray(nelements):
164
+ return _cxtgeo.new_longarray(nelements)
165
+
166
+ def delete_longarray(ary):
167
+ return _cxtgeo.delete_longarray(ary)
168
+
169
+ def longarray_getitem(ary, index):
170
+ return _cxtgeo.longarray_getitem(ary, index)
171
+
172
+ def longarray_setitem(ary, index, value):
173
+ return _cxtgeo.longarray_setitem(ary, index, value)
174
+
175
+ def new_floatarray(nelements):
176
+ return _cxtgeo.new_floatarray(nelements)
177
+
178
+ def delete_floatarray(ary):
179
+ return _cxtgeo.delete_floatarray(ary)
180
+
181
+ def floatarray_getitem(ary, index):
182
+ return _cxtgeo.floatarray_getitem(ary, index)
183
+
184
+ def floatarray_setitem(ary, index, value):
185
+ return _cxtgeo.floatarray_setitem(ary, index, value)
186
+
187
+ def new_doublearray(nelements):
188
+ return _cxtgeo.new_doublearray(nelements)
189
+
190
+ def delete_doublearray(ary):
191
+ return _cxtgeo.delete_doublearray(ary)
192
+
193
+ def doublearray_getitem(ary, index):
194
+ return _cxtgeo.doublearray_getitem(ary, index)
195
+
196
+ def doublearray_setitem(ary, index, value):
197
+ return _cxtgeo.doublearray_setitem(ary, index, value)
198
+
199
+ def new_chararray(nelements):
200
+ return _cxtgeo.new_chararray(nelements)
201
+
202
+ def delete_chararray(ary):
203
+ return _cxtgeo.delete_chararray(ary)
204
+
205
+ def chararray_getitem(ary, index):
206
+ return _cxtgeo.chararray_getitem(ary, index)
207
+
208
+ def chararray_setitem(ary, index, value):
209
+ return _cxtgeo.chararray_setitem(ary, index, value)
210
+
211
+ def swig_carr_to_numpy_1d(np, carr):
212
+ return _cxtgeo.swig_carr_to_numpy_1d(np, carr)
213
+
214
+ def swig_carr_to_numpy_f1d(npf, carrf):
215
+ return _cxtgeo.swig_carr_to_numpy_f1d(npf, carrf)
216
+
217
+ def swig_carr_to_numpy_i1d(npi, carri):
218
+ return _cxtgeo.swig_carr_to_numpy_i1d(npi, carri)
219
+
220
+ def swig_numpy_to_carr_1d(npinput, cxarr):
221
+ return _cxtgeo.swig_numpy_to_carr_1d(npinput, cxarr)
222
+
223
+ def swig_numpy_to_carr_f1d(npinputf, cxarrf):
224
+ return _cxtgeo.swig_numpy_to_carr_f1d(npinputf, cxarrf)
225
+
226
+ def swig_numpy_to_carr_i1d(npinputi, cxarri):
227
+ return _cxtgeo.swig_numpy_to_carr_i1d(npinputi, cxarri)
228
+
229
+ XTGeoCLibError = _cxtgeo.XTGeoCLibError
230
+
231
+ _GNU_SOURCE = _cxtgeo._GNU_SOURCE
232
+ PI = _cxtgeo.PI
233
+ M_PI = _cxtgeo.M_PI
234
+ PIHALF = _cxtgeo.PIHALF
235
+ FLOATEPS = _cxtgeo.FLOATEPS
236
+ VERYLARGEFLOAT = _cxtgeo.VERYLARGEFLOAT
237
+ VERYSMALLFLOAT = _cxtgeo.VERYSMALLFLOAT
238
+ VERYLARGEPOSITIVE = _cxtgeo.VERYLARGEPOSITIVE
239
+ VERYLARGENEGATIVE = _cxtgeo.VERYLARGENEGATIVE
240
+ UNDEF = _cxtgeo.UNDEF
241
+ UNDEF_LIMIT = _cxtgeo.UNDEF_LIMIT
242
+ UNDEF_INT = _cxtgeo.UNDEF_INT
243
+ UNDEF_INT_LIMIT = _cxtgeo.UNDEF_INT_LIMIT
244
+ UNDEF_MAP = _cxtgeo.UNDEF_MAP
245
+ UNDEF_INT_MAP = _cxtgeo.UNDEF_INT_MAP
246
+ UNDEF_MAP_LIMIT = _cxtgeo.UNDEF_MAP_LIMIT
247
+ UNDEF_INT_MAP_LIMIT = _cxtgeo.UNDEF_INT_MAP_LIMIT
248
+ UNDEF_MAP_STORM = _cxtgeo.UNDEF_MAP_STORM
249
+ UNDEF_MAP_IRAP = _cxtgeo.UNDEF_MAP_IRAP
250
+ UNDEF_MAP_IRAPB = _cxtgeo.UNDEF_MAP_IRAPB
251
+ UNDEF_MAP_ZMAP = _cxtgeo.UNDEF_MAP_ZMAP
252
+ UNDEF_MAP_IRAPB_LIMIT = _cxtgeo.UNDEF_MAP_IRAPB_LIMIT
253
+ UNDEF_CUBE_RMS = _cxtgeo.UNDEF_CUBE_RMS
254
+ UNDEF_POINT = _cxtgeo.UNDEF_POINT
255
+ UNDEF_POINT_LIMIT = _cxtgeo.UNDEF_POINT_LIMIT
256
+ UNDEF_POINT_RMS = _cxtgeo.UNDEF_POINT_RMS
257
+ UNDEF_POINT_IRAP = _cxtgeo.UNDEF_POINT_IRAP
258
+ LAST_POINT = _cxtgeo.LAST_POINT
259
+ LAST_POINT_LIMIT = _cxtgeo.LAST_POINT_LIMIT
260
+ MAXPSTACK = _cxtgeo.MAXPSTACK
261
+ ROFFSTRLEN = _cxtgeo.ROFFSTRLEN
262
+ ECLNAMELEN = _cxtgeo.ECLNAMELEN
263
+ ECLTYPELEN = _cxtgeo.ECLTYPELEN
264
+ ECLINTEHEADLEN = _cxtgeo.ECLINTEHEADLEN
265
+ ECLDOUBHEADLEN = _cxtgeo.ECLDOUBHEADLEN
266
+ ECLLOGIHEADLEN = _cxtgeo.ECLLOGIHEADLEN
267
+ ECLNUMBLOCKLEN = _cxtgeo.ECLNUMBLOCKLEN
268
+ ECLCHABLOCKLEN = _cxtgeo.ECLCHABLOCKLEN
269
+ UNDEF_ROFFBYTE = _cxtgeo.UNDEF_ROFFBYTE
270
+ UNDEF_ROFFINT = _cxtgeo.UNDEF_ROFFINT
271
+ UNDEF_ROFFFLOAT = _cxtgeo.UNDEF_ROFFFLOAT
272
+ UNDEF_ECLINT = _cxtgeo.UNDEF_ECLINT
273
+ UNDEF_ECLFLOAT = _cxtgeo.UNDEF_ECLFLOAT
274
+ MAXKEYWORDS = _cxtgeo.MAXKEYWORDS
275
+ MAXDATES = _cxtgeo.MAXDATES
276
+
277
+ def xtg_fopen(filename, mode):
278
+ return _cxtgeo.xtg_fopen(filename, mode)
279
+
280
+ def xtg_fopen_bytestream(swig_bytes, mode):
281
+ return _cxtgeo.xtg_fopen_bytestream(swig_bytes, mode)
282
+
283
+ def xtg_fflush(fhandle):
284
+ return _cxtgeo.xtg_fflush(fhandle)
285
+
286
+ def xtg_ftell(fhandle):
287
+ return _cxtgeo.xtg_ftell(fhandle)
288
+
289
+ def xtg_fclose(fhandle):
290
+ return _cxtgeo.xtg_fclose(fhandle)
291
+
292
+ def xtg_get_fbuffer(fhandle, swig_bytes):
293
+ return _cxtgeo.xtg_get_fbuffer(fhandle, swig_bytes)
294
+
295
+ def x_interp_map_nodes(x_v, y_v, z_v, x, y, method):
296
+ return _cxtgeo.x_interp_map_nodes(x_v, y_v, z_v, x, y, method)
297
+
298
+ def x_ijk2ib(i, j, k, nx, ny, nz, ia_start):
299
+ return _cxtgeo.x_ijk2ib(i, j, k, nx, ny, nz, ia_start)
300
+
301
+ def x_ijk2ic(i, j, k, nx, ny, nz, ia_start):
302
+ return _cxtgeo.x_ijk2ic(i, j, k, nx, ny, nz, ia_start)
303
+
304
+ def x_ib2ijk(ib, nx, ny, nz, ia_start):
305
+ return _cxtgeo.x_ib2ijk(ib, nx, ny, nz, ia_start)
306
+
307
+ def x_ic2ijk(ic, nx, ny, nz, ia_start):
308
+ return _cxtgeo.x_ic2ijk(ic, nx, ny, nz, ia_start)
309
+
310
+ def x_vector_info2(x1, x2, y1, y2, option):
311
+ return _cxtgeo.x_vector_info2(x1, x2, y1, y2, option)
312
+
313
+ def x_vector_linint2(x0, y0, z0, x1, y1, z1, dist, option):
314
+ return _cxtgeo.x_vector_linint2(x0, y0, z0, x1, y1, z1, dist, option)
315
+
316
+ def x_diff_angle(ang1, ang2, option):
317
+ return _cxtgeo.x_diff_angle(ang1, ang2, option)
318
+
319
+ def x_avg_angles(swig_np_dbl_in_v1):
320
+ return _cxtgeo.x_avg_angles(swig_np_dbl_in_v1)
321
+
322
+ def x_tetrahedron_volume(swig_np_dbl_inplaceflat_v1):
323
+ return _cxtgeo.x_tetrahedron_volume(swig_np_dbl_inplaceflat_v1)
324
+
325
+ def x_point_in_tetrahedron(x0, y0, z0, swig_np_dbl_inplaceflat_v1):
326
+ return _cxtgeo.x_point_in_tetrahedron(x0, y0, z0, swig_np_dbl_inplaceflat_v1)
327
+
328
+ def x_point_in_hexahedron(x0, y0, z0, swig_np_dbl_inplaceflat_v1, method):
329
+ return _cxtgeo.x_point_in_hexahedron(x0, y0, z0, swig_np_dbl_inplaceflat_v1, method)
330
+
331
+ def x_vectorpair_angle3d(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, degrees, option):
332
+ return _cxtgeo.x_vectorpair_angle3d(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, degrees, option)
333
+
334
+ def x_minmax_cellangles_topbase(swig_np_dbl_in_v1, option, degrees):
335
+ return _cxtgeo.x_minmax_cellangles_topbase(swig_np_dbl_in_v1, option, degrees)
336
+
337
+ def x_minmax_cellangles_sides(swig_np_dbl_in_v1, degrees):
338
+ return _cxtgeo.x_minmax_cellangles_sides(swig_np_dbl_in_v1, degrees)
339
+
340
+ def surf_import_petromod_bin(fhandle, mode, undef, mx, my, swig_np_dbl_aout_v1):
341
+ return _cxtgeo.surf_import_petromod_bin(fhandle, mode, undef, mx, my, swig_np_dbl_aout_v1)
342
+
343
+ def surf_export_storm_bin(fc, mx, my, xori, yori, xinc, yinc, swig_np_dbl_in_v1, zmin, zmax, option):
344
+ return _cxtgeo.surf_export_storm_bin(fc, mx, my, xori, yori, xinc, yinc, swig_np_dbl_in_v1, zmin, zmax, option)
345
+
346
+ def surf_export_petromod_bin(fc, dsc, swig_np_dbl_in_v1):
347
+ return _cxtgeo.surf_export_petromod_bin(fc, dsc, swig_np_dbl_in_v1)
348
+
349
+ def surf_zminmax(nx, ny, p_map_v, zmin, zmax):
350
+ return _cxtgeo.surf_zminmax(nx, ny, p_map_v, zmin, zmax)
351
+
352
+ def surf_xyz_from_ij(i, j, xori, xinc, yori, yinc, nx, ny, yflip, rot_deg, swig_np_dbl_in_v1, flag):
353
+ return _cxtgeo.surf_xyz_from_ij(i, j, xori, xinc, yori, yinc, nx, ny, yflip, rot_deg, swig_np_dbl_in_v1, flag)
354
+
355
+ def surf_xyori_from_ij(i, j, x, y, xinc, yinc, nx, ny, yflip, rot_deg, flag):
356
+ return _cxtgeo.surf_xyori_from_ij(i, j, x, y, xinc, yinc, nx, ny, yflip, rot_deg, flag)
357
+
358
+ def surf_get_z_from_ij(ic, jc, x, y, nx, ny, xinc, yinc, xori, yori, p_map_v, option):
359
+ return _cxtgeo.surf_get_z_from_ij(ic, jc, x, y, nx, ny, xinc, yinc, xori, yori, p_map_v, option)
360
+
361
+ def surf_get_z_from_xy(x, y, nx, ny, xori, yori, xinc, yinc, yflip, rot_deg, swig_np_dbl_in_v1, option):
362
+ return _cxtgeo.surf_get_z_from_xy(x, y, nx, ny, xori, yori, xinc, yinc, yflip, rot_deg, swig_np_dbl_in_v1, option)
363
+
364
+ def surf_get_zv_from_xyv(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, nx, ny, xori, yori, xinc, yinc, yflip, rot_deg, swig_np_dbl_in_v3, option):
365
+ return _cxtgeo.surf_get_zv_from_xyv(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, nx, ny, xori, yori, xinc, yinc, yflip, rot_deg, swig_np_dbl_in_v3, option)
366
+
367
+ def surf_xy_as_values(xori, xinc, yori, yinc, nx, ny, rot_deg, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, flag):
368
+ return _cxtgeo.surf_xy_as_values(xori, xinc, yori, yinc, nx, ny, rot_deg, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, flag)
369
+
370
+ def surf_slice_grd3d(mcol, mrow, xori, xinc, yori, yinc, rotation, yflip, swig_np_dbl_in_v1, swig_np_dbl_aout_v1, ncol, nrow, nlay, swig_np_dbl_in_v2, swig_np_dbl_in_v3, swig_np_int_in_v1, p_prop_v, buffer):
371
+ return _cxtgeo.surf_slice_grd3d(mcol, mrow, xori, xinc, yori, yinc, rotation, yflip, swig_np_dbl_in_v1, swig_np_dbl_aout_v1, ncol, nrow, nlay, swig_np_dbl_in_v2, swig_np_dbl_in_v3, swig_np_int_in_v1, p_prop_v, buffer)
372
+
373
+ def surf_resample(nx1, ny1, xori1, xinc1, yori1, yinc1, yflip1, rota1, swig_np_dbl_inplaceflat_v1, nx2, ny2, xori2, xinc2, yori2, yinc2, yflip2, rota2, swig_np_dbl_inplaceflat_v2, option, samplingoption):
374
+ return _cxtgeo.surf_resample(nx1, ny1, xori1, xinc1, yori1, yinc1, yflip1, rota1, swig_np_dbl_inplaceflat_v1, nx2, ny2, xori2, xinc2, yori2, yinc2, yflip2, rota2, swig_np_dbl_inplaceflat_v2, option, samplingoption)
375
+
376
+ def surf_get_dist_values(xori, xinc, yori, yinc, nx, ny, rot_deg, x0, y0, azimuth, swig_np_dbl_inplace_v1, flag):
377
+ return _cxtgeo.surf_get_dist_values(xori, xinc, yori, yinc, nx, ny, rot_deg, x0, y0, azimuth, swig_np_dbl_inplace_v1, flag)
378
+
379
+ def surf_slice_cube(ncx, ncy, ncz, cxori, cxinc, cyori, cyinc, czori, czinc, crotation, yflip, swig_np_flt_in_v1, mx, my, xori, xinc, yori, yinc, mapflip, mrotation, swig_np_dbl_in_v1, swig_np_dbl_aout_v1, option1, option2):
380
+ return _cxtgeo.surf_slice_cube(ncx, ncy, ncz, cxori, cxinc, cyori, cyinc, czori, czinc, crotation, yflip, swig_np_flt_in_v1, mx, my, xori, xinc, yori, yinc, mapflip, mrotation, swig_np_dbl_in_v1, swig_np_dbl_aout_v1, option1, option2)
381
+
382
+ def surf_slice_cube_v3(ncol, nrow, nlay, czori, czinc, swig_np_flt_inplaceflat_v1, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_boo_inplaceflat_v1, optnearest, optmask):
383
+ return _cxtgeo.surf_slice_cube_v3(ncol, nrow, nlay, czori, czinc, swig_np_flt_inplaceflat_v1, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_boo_inplaceflat_v1, optnearest, optmask)
384
+
385
+ def surf_stack_slice_cube(ncol, nrow, nlay, nstack, czori, czinc, cubevalsv, stack, rmask, optnearest, optmask):
386
+ return _cxtgeo.surf_stack_slice_cube(ncol, nrow, nlay, nstack, czori, czinc, cubevalsv, stack, rmask, optnearest, optmask)
387
+
388
+ def surf_slice_cube_window(ncx, ncy, ncz, cxori, cxinc, cyori, cyinc, czori, czinc, crotation, yflip, swig_np_flt_in_v1, mx, my, xori, xinc, yori, yinc, mapflip, mrotation, swig_np_dbl_in_v1, zincr, nzincr, swig_np_dbl_aout_v1, nattr, option1, option2):
389
+ return _cxtgeo.surf_slice_cube_window(ncx, ncy, ncz, cxori, cxinc, cyori, cyinc, czori, czinc, crotation, yflip, swig_np_flt_in_v1, mx, my, xori, xinc, yori, yinc, mapflip, mrotation, swig_np_dbl_in_v1, zincr, nzincr, swig_np_dbl_aout_v1, nattr, option1, option2)
390
+
391
+ def surf_cube_attr_intv(ncol, nrow, nlay, czori, czinc, swig_np_flt_inplaceflat_v1, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_boo_inplaceflat_v1, swig_np_boo_inplaceflat_v2, slicezinc, ndiv, ndivdisc, swig_np_dbl_inplaceflat_v3, optnearest, optmask, optprogress, maskthreshold, optsum):
392
+ return _cxtgeo.surf_cube_attr_intv(ncol, nrow, nlay, czori, czinc, swig_np_flt_inplaceflat_v1, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_boo_inplaceflat_v1, swig_np_boo_inplaceflat_v2, slicezinc, ndiv, ndivdisc, swig_np_dbl_inplaceflat_v3, optnearest, optmask, optprogress, maskthreshold, optsum)
393
+
394
+ def surf_sample_grd3d_lay(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, klayer, mx, my, xori, xstep, yori, ystep, rotation, swig_np_dbl_inplace_v1, swig_np_dbl_inplace_v2, swig_np_dbl_inplace_v3, option):
395
+ return _cxtgeo.surf_sample_grd3d_lay(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, klayer, mx, my, xori, xstep, yori, ystep, rotation, swig_np_dbl_inplace_v1, swig_np_dbl_inplace_v2, swig_np_dbl_inplace_v3, option)
396
+
397
+ def surf_setval_poly(xori, xinc, yori, yinc, ncol, nrow, yflip, rot_deg, swig_np_dbl_inplace_v1, swig_np_dbl_in_v1, swig_np_dbl_in_v2, value, flag):
398
+ return _cxtgeo.surf_setval_poly(xori, xinc, yori, yinc, ncol, nrow, yflip, rot_deg, swig_np_dbl_inplace_v1, swig_np_dbl_in_v1, swig_np_dbl_in_v2, value, flag)
399
+
400
+ def pol_chk_point_inside(x, y, p_xp_v, p_yp_v, np):
401
+ return _cxtgeo.pol_chk_point_inside(x, y, p_xp_v, p_yp_v, np)
402
+
403
+ def pol_do_points_inside(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, swig_np_dbl_in_v3, swig_np_dbl_in_v4, new_value, option, inside):
404
+ return _cxtgeo.pol_do_points_inside(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, swig_np_dbl_in_v3, swig_np_dbl_in_v4, new_value, option, inside)
405
+
406
+ def polys_chk_point_inside(x, y, p_xp_v, p_yp_v, np1, np2):
407
+ return _cxtgeo.polys_chk_point_inside(x, y, p_xp_v, p_yp_v, np1, np2)
408
+
409
+ def pol_geometrics(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, swig_np_dbl_aout_v3, swig_np_dbl_aout_v4):
410
+ return _cxtgeo.pol_geometrics(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, swig_np_dbl_aout_v3, swig_np_dbl_aout_v4)
411
+
412
+ def sucu_ij_from_xy(i, j, rx, ry, x, y, xori, xinc, yori, yinc, nx, ny, yflip, rot_azi_deg, flag):
413
+ return _cxtgeo.sucu_ij_from_xy(i, j, rx, ry, x, y, xori, xinc, yori, yinc, nx, ny, yflip, rot_azi_deg, flag)
414
+
415
+ def cube_import_storm(nx, ny, nz, file, lstart, swig_np_flt_aout_v1, option):
416
+ return _cxtgeo.cube_import_storm(nx, ny, nz, file, lstart, swig_np_flt_aout_v1, option)
417
+
418
+ def cube_import_rmsregular(iline, ndef, ndefsum, nx, ny, nz, val_v, vmin, vmax, file, ierr):
419
+ return _cxtgeo.cube_import_rmsregular(iline, ndef, ndefsum, nx, ny, nz, val_v, vmin, vmax, file, ierr)
420
+
421
+ def cube_export_segy(sfile, nx, ny, nz, swig_np_flt_in_v1, xori, xinc, yori, yinc, zori, zinc, rotation, yflip, zflip, ilinesp, xlinesp, tracidp, option):
422
+ return _cxtgeo.cube_export_segy(sfile, nx, ny, nz, swig_np_flt_in_v1, xori, xinc, yori, yinc, zori, zinc, rotation, yflip, zflip, ilinesp, xlinesp, tracidp, option)
423
+
424
+ def cube_export_rmsregular(nx, ny, nz, xmin, ymin, zmin, xinc, yinc, zinc, rotation, yflip, swig_np_flt_in_v1, file):
425
+ return _cxtgeo.cube_export_rmsregular(nx, ny, nz, xmin, ymin, zmin, xinc, yinc, zinc, rotation, yflip, swig_np_flt_in_v1, file)
426
+
427
+ def cube_coord_val_ijk(i, j, k, nx, ny, nz, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, p_val_v, x, y, z, value, option):
428
+ return _cxtgeo.cube_coord_val_ijk(i, j, k, nx, ny, nz, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, p_val_v, x, y, z, value, option)
429
+
430
+ def cube_xy_from_ij(i, j, xori, xinc, yori, yinc, nx, ny, yflip, rot_azi_deg, flag):
431
+ return _cxtgeo.cube_xy_from_ij(i, j, xori, xinc, yori, yinc, nx, ny, yflip, rot_azi_deg, flag)
432
+
433
+ def cube_ijk_from_xyz(i, j, k, rx, ry, rz, x, y, z, xori, xinc, yori, yinc, zori, zinc, nx, ny, nz, rot_deg, yflip, flag):
434
+ return _cxtgeo.cube_ijk_from_xyz(i, j, k, rx, ry, rz, x, y, z, xori, xinc, yori, yinc, zori, zinc, nx, ny, nz, rot_deg, yflip, flag)
435
+
436
+ def cube_value_ijk(i, j, k, nx, ny, nz, p_val_v, value):
437
+ return _cxtgeo.cube_value_ijk(i, j, k, nx, ny, nz, p_val_v, value)
438
+
439
+ def cube_value_xyz_cell(x, y, z, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, nx, ny, nz, p_val_v, value, option):
440
+ return _cxtgeo.cube_value_xyz_cell(x, y, z, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, nx, ny, nz, p_val_v, value, option)
441
+
442
+ def cube_value_xyz_interp(x, y, z, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, nx, ny, nz, p_val_v, value, option):
443
+ return _cxtgeo.cube_value_xyz_interp(x, y, z, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, nx, ny, nz, p_val_v, value, option)
444
+
445
+ def cube_vertical_val_list(i, j, nx, ny, nz, p_val_v, p_vertical_v):
446
+ return _cxtgeo.cube_vertical_val_list(i, j, nx, ny, nz, p_val_v, p_vertical_v)
447
+
448
+ def cube_resample_cube(ncx1, ncy1, ncz1, cxori1, cxinc1, cyori1, cyinc1, czori1, czinc1, crotation1, yflip1, swig_np_flt_inplace_v1, ncx2, ncy2, ncz2, cxori2, cxinc2, cyori2, cyinc2, czori2, czinc2, crotation2, yflip2, swig_np_flt_in_v1, option1, option2, ovalue):
449
+ return _cxtgeo.cube_resample_cube(ncx1, ncy1, ncz1, cxori1, cxinc1, cyori1, cyinc1, czori1, czinc1, crotation1, yflip1, swig_np_flt_inplace_v1, ncx2, ncy2, ncz2, cxori2, cxinc2, cyori2, cyinc2, czori2, czinc2, crotation2, yflip2, swig_np_flt_in_v1, option1, option2, ovalue)
450
+
451
+ def cube_get_randomline(swig_np_dbl_in_v1, swig_np_dbl_in_v2, zmin, zmax, nzsam, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, nx, ny, nz, swig_np_flt_in_v1, swig_np_dbl_aout_v1, option):
452
+ return _cxtgeo.cube_get_randomline(swig_np_dbl_in_v1, swig_np_dbl_in_v2, zmin, zmax, nzsam, xori, xinc, yori, yinc, zori, zinc, rot_deg, yflip, nx, ny, nz, swig_np_flt_in_v1, swig_np_dbl_aout_v1, option)
453
+
454
+ def grdcp3d_calc_dx(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, m):
455
+ return _cxtgeo.grdcp3d_calc_dx(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, m)
456
+
457
+ def grdcp3d_calc_dy(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, m):
458
+ return _cxtgeo.grdcp3d_calc_dy(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, m)
459
+
460
+ def grdcp3d_calc_dz(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, m):
461
+ return _cxtgeo.grdcp3d_calc_dz(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_inplace_v1, m)
462
+
463
+ def grd3d_roff2xtgeo_splitenz(nz, zoffset, zscale, swig_bytes, swig_np_flt_inplace_v1, swig_np_flt_inplace_v2):
464
+ return _cxtgeo.grd3d_roff2xtgeo_splitenz(nz, zoffset, zscale, swig_bytes, swig_np_flt_inplace_v1, swig_np_flt_inplace_v2)
465
+
466
+ def grd3d_crop_geometry(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, swig_np_dbl_inplace_v1, swig_np_dbl_inplace_v2, swig_np_int_inplace_v1, ic1, ic2, jc1, jc2, kc1, kc2, nactive, iflag):
467
+ return _cxtgeo.grd3d_crop_geometry(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, swig_np_dbl_inplace_v1, swig_np_dbl_inplace_v2, swig_np_int_inplace_v1, ic1, ic2, jc1, jc2, kc1, kc2, nactive, iflag)
468
+
469
+ def grd3d_reduce_onelayer(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_inplace_v1, swig_np_int_in_v1, swig_np_int_inplace_v1, nactive, iflag):
470
+ return _cxtgeo.grd3d_reduce_onelayer(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_inplace_v1, swig_np_int_in_v1, swig_np_int_inplace_v1, nactive, iflag)
471
+
472
+ def grd3d_get_lay_slice(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, kslice, koption, actonly, swig_np_dbl_aout_v1, swig_np_lng_aout_v1):
473
+ return _cxtgeo.grd3d_get_lay_slice(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, kslice, koption, actonly, swig_np_dbl_aout_v1, swig_np_lng_aout_v1)
474
+
475
+ def grd3d_make_z_consistent(nx, ny, nz, swig_np_dbl_inplace_v1, zsep):
476
+ return _cxtgeo.grd3d_make_z_consistent(nx, ny, nz, swig_np_dbl_inplace_v1, zsep)
477
+
478
+ def grd3d_point_val_crange(x, y, z, nx, ny, nz, p_coor_v, zcornsv, actnumsv, p_val_v, value, imin, imax, jmin, jmax, kmin, kmax, ibs, option):
479
+ return _cxtgeo.grd3d_point_val_crange(x, y, z, nx, ny, nz, p_coor_v, zcornsv, actnumsv, p_val_v, value, imin, imax, jmin, jmax, kmin, kmax, ibs, option)
480
+
481
+ def grd3d_point_in_cell(ibstart, kzonly, x, y, z, nx, ny, nz, p_coor_v, zcornsv, actnumsv, maxrad, sflag, nradsearch, option):
482
+ return _cxtgeo.grd3d_point_in_cell(ibstart, kzonly, x, y, z, nx, ny, nz, p_coor_v, zcornsv, actnumsv, maxrad, sflag, nradsearch, option)
483
+
484
+ def grd3d_get_randomline(swig_np_dbl_in_v1, swig_np_dbl_in_v2, zmin, zmax, nzsam, mcol, mrow, xori, yori, xinc, yinc, rotation, yflip, maptopi, maptopj, mapbasi, mapbasj, nx, ny, nz, swig_np_dbl_in_v3, swig_np_dbl_in_v4, swig_np_int_in_v1, p_val_v, swig_np_dbl_in_v5, swig_np_int_in_v2, swig_np_dbl_aout_v1):
485
+ return _cxtgeo.grd3d_get_randomline(swig_np_dbl_in_v1, swig_np_dbl_in_v2, zmin, zmax, nzsam, mcol, mrow, xori, yori, xinc, yinc, rotation, yflip, maptopi, maptopj, mapbasi, mapbasj, nx, ny, nz, swig_np_dbl_in_v3, swig_np_dbl_in_v4, swig_np_int_in_v1, p_val_v, swig_np_dbl_in_v5, swig_np_int_in_v2, swig_np_dbl_aout_v1)
486
+
487
+ def grd3d_midpoint(i, j, k, nx, ny, nz, coordsv, ncoord, zcornsv, nzcorn, x, y, z):
488
+ return _cxtgeo.grd3d_midpoint(i, j, k, nx, ny, nz, coordsv, ncoord, zcornsv, nzcorn, x, y, z)
489
+
490
+ def grd3d_inact_outside_pol(swig_np_dbl_in_v1, swig_np_dbl_in_v2, nx, ny, nz, swig_np_dbl_in_v3, swig_np_dbl_in_v4, swig_np_int_inplace_v1, k1, k2, force_close, option):
491
+ return _cxtgeo.grd3d_inact_outside_pol(swig_np_dbl_in_v1, swig_np_dbl_in_v2, nx, ny, nz, swig_np_dbl_in_v3, swig_np_dbl_in_v4, swig_np_int_inplace_v1, k1, k2, force_close, option)
492
+
493
+ def grd3d_setval_poly(swig_np_dbl_in_v1, swig_np_dbl_in_v2, nx, ny, nz, swig_np_dbl_in_v3, swig_np_dbl_in_v4, swig_np_int_in_v1, p_val_v, value):
494
+ return _cxtgeo.grd3d_setval_poly(swig_np_dbl_in_v1, swig_np_dbl_in_v2, nx, ny, nz, swig_np_dbl_in_v3, swig_np_dbl_in_v4, swig_np_int_in_v1, p_val_v, value)
495
+
496
+ def grd3d_geometrics(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, xori, yori, zori, xmin, xmax, ymin, ymax, zmin, zmax, rotation, dx, dy, dz, option1, option2):
497
+ return _cxtgeo.grd3d_geometrics(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, xori, yori, zori, xmin, xmax, ymin, ymax, zmin, zmax, rotation, dx, dy, dz, option1, option2)
498
+
499
+ def grd3d_check_cell_splits(ncol, nrow, nlay, coordsv, zcornsv, ib1, ib2):
500
+ return _cxtgeo.grd3d_check_cell_splits(ncol, nrow, nlay, coordsv, zcornsv, ib1, ib2)
501
+
502
+ def grd3d_adj_cells(ncol, nrow, nlay, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_inplace_v1, p_prop1, nprop1, val1, val2, p_prop2, nprop2, iflag1, iflag2):
503
+ return _cxtgeo.grd3d_adj_cells(ncol, nrow, nlay, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_inplace_v1, p_prop1, nprop1, val1, val2, p_prop2, nprop2, iflag1, iflag2)
504
+
505
+ def grd3d_corners(i, j, k, nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, corners):
506
+ return _cxtgeo.grd3d_corners(i, j, k, nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, corners)
507
+
508
+ def grd3d_zminmax(i, j, k, nx, ny, nz, zcornsv, option):
509
+ return _cxtgeo.grd3d_zminmax(i, j, k, nx, ny, nz, zcornsv, option)
510
+
511
+ def grd3d_get_all_corners(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, x1, y1, z1, x2, y2, z2, x3, y3, z3, x4, y4, z4, x5, y5, z5, x6, y6, z6, x7, y7, z7, x8, y8, z8, option):
512
+ return _cxtgeo.grd3d_get_all_corners(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, x1, y1, z1, x2, y2, z2, x3, y3, z3, x4, y4, z4, x5, y5, z5, x6, y6, z6, x7, y7, z7, x8, y8, z8, option)
513
+
514
+ def grd3d_well_ijk(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, swig_np_dbl_in_v3, swig_np_int_in_v2, nval, p_utme_v, p_utmn_v, p_tvds_v, ivector, jvector, kvector, iflag):
515
+ return _cxtgeo.grd3d_well_ijk(nx, ny, nz, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_int_in_v1, swig_np_dbl_in_v3, swig_np_int_in_v2, nval, p_utme_v, p_utmn_v, p_tvds_v, ivector, jvector, kvector, iflag)
516
+
517
+ def grd3cp3d_xtgformat1to2_geom(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_dbl_inplaceflat_v3, swig_np_flt_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_int_inplaceflat_v2):
518
+ return _cxtgeo.grd3cp3d_xtgformat1to2_geom(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_dbl_inplaceflat_v3, swig_np_flt_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_int_inplaceflat_v2)
519
+
520
+ def grd3cp3d_xtgformat2to1_geom(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_dbl_inplaceflat_v3, swig_np_flt_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_int_inplaceflat_v2):
521
+ return _cxtgeo.grd3cp3d_xtgformat2to1_geom(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_dbl_inplaceflat_v2, swig_np_dbl_inplaceflat_v3, swig_np_flt_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_int_inplaceflat_v2)
522
+
523
+ def grdcp3d_process_edges(ncol, nrow, nlay, swig_np_flt_inplaceflat_v1):
524
+ return _cxtgeo.grdcp3d_process_edges(ncol, nrow, nlay, swig_np_flt_inplaceflat_v1)
525
+
526
+ def grdcp3d_corners(ic, jc, kc, ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, corners):
527
+ return _cxtgeo.grdcp3d_corners(ic, jc, kc, ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, corners)
528
+
529
+ def grdcp3d_get_vtk_esg_geometry_data(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, swig_np_dbl_aout_v1, swig_np_lng_aout_v1):
530
+ return _cxtgeo.grdcp3d_get_vtk_esg_geometry_data(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, swig_np_dbl_aout_v1, swig_np_lng_aout_v1)
531
+
532
+ def grdcp3d_get_vtk_grid_arrays(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, swig_np_dbl_aout_v3):
533
+ return _cxtgeo.grdcp3d_get_vtk_grid_arrays(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, swig_np_dbl_aout_v3)
534
+
535
+ def grdcp3d_quality_indicators(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_flt_inplaceflat_v2):
536
+ return _cxtgeo.grdcp3d_quality_indicators(ncol, nrow, nlay, swig_np_dbl_inplaceflat_v1, swig_np_flt_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_flt_inplaceflat_v2)
537
+
538
+ def well_geometrics(np, xv, yv, zv, md, incl, az, option):
539
+ return _cxtgeo.well_geometrics(np, xv, yv, zv, md, incl, az, option)
540
+
541
+ def well_trunc_parallel(swig_np_dbl_inplace_v1, swig_np_dbl_inplace_v2, swig_np_dbl_inplace_v3, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, xtol, ytol, ztol, itol, atol, option):
542
+ return _cxtgeo.well_trunc_parallel(swig_np_dbl_inplace_v1, swig_np_dbl_inplace_v2, swig_np_dbl_inplace_v3, swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, xtol, ytol, ztol, itol, atol, option)
543
+
544
+ def well_surf_picks(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, swig_np_dbl_in_v4, ncol, nrow, xori, yori, xinc, yinc, yflip, rot, swig_np_dbl_in_v5, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, swig_np_dbl_aout_v3, swig_np_dbl_aout_v4, swig_np_int_aout_v1):
545
+ return _cxtgeo.well_surf_picks(swig_np_dbl_in_v1, swig_np_dbl_in_v2, swig_np_dbl_in_v3, swig_np_dbl_in_v4, ncol, nrow, xori, yori, xinc, yinc, yflip, rot, swig_np_dbl_in_v5, swig_np_dbl_aout_v1, swig_np_dbl_aout_v2, swig_np_dbl_aout_v3, swig_np_dbl_aout_v4, swig_np_int_aout_v1)
546
+
547
+ def well_mask_shoulder(swig_np_dbl_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_int_inplaceflat_v2, distance):
548
+ return _cxtgeo.well_mask_shoulder(swig_np_dbl_inplaceflat_v1, swig_np_int_inplaceflat_v1, swig_np_int_inplaceflat_v2, distance)
549
+
550
+ def throw_exception(msg):
551
+ return _cxtgeo.throw_exception(msg)
552
+
553
+ def clear_exception():
554
+ return _cxtgeo.clear_exception()
555
+
556
+ def check_exception():
557
+ return _cxtgeo.check_exception()
558
+