GXVOXE class¶
-
class
GXVOXE
(handle=0)[source]¶ GXVOXE class.
GXVOX
evaluator class. Used to sample values from the voxel.-
classmethod
create
(vox)[source]¶ Create a handle to an
GXVOXE
object- Parameters
- Returns
GXVOXE
handle, terminates if creation fails- Return type
New in version 6.3.
License: Geosoft Open License
-
is_null
()[source]¶ Check if this is a null (undefined) instance
- Returns
True if this is a null (undefined) instance, False otherwise.
- Return type
bool
-
profile
(vv_x, vv_y, vv_z, vv_d, interp)[source]¶ Extract a profile of data along points provided.
- Parameters
New in version 6.3.
License: Geosoft Open License
-
value
(x, y, z, interp)[source]¶ Get a value at a specific point
- Parameters
x (float) – X Location
y (float) – Y Location
z (float) – Z Location
interp (int) – VOXE_EVAL constants
- Returns
Value at the point or DUMMY if not valid
- Return type
float
New in version 6.3.
License: Geosoft Open License
-
vector
(ox, oy, oz, vx, vy, vz, vv, interp)[source]¶ Extract a profile of data along a vector
- Parameters
ox (float) – X Origin
oy (float) – Y Origin
oz (float) – Z Origin
vx (float) – X Delta
vy (float) – Y Delta
vz (float) – Z Delta
interp (int) – VOXE_EVAL constants
New in version 6.3.
License: Geosoft Open License
-
classmethod