GXVOXE class

class geosoft.gx.GXVOXE
VOX evaluator class. Used to sample values from
the voxel.
static create((GXContext)ctx, (GXVOX)arg1) → GXVOXE:
Create a handle to an VOXE object
Parameters:
Returns:

VOXE handle, terminates if creation fails

Return type:

geosoft.gx.GXVOXE

New in version 6.3.0.

is_null() → bool

Check if the instance of geosoft.gx.GXVOXE is null (undefined)

Returns:True if this is a null instance of geosoft.gx.GXVOXE, False otherwise.
Return type:bool`
static null() → GXVOXE

A null (undefined) instance of geosoft.gx.GXVOXE

Returns:A null geosoft.gx.GXVOXE
Return type:geosoft.gx.GXVOXE
profile((GXVV)arg1, (GXVV)arg2, (GXVV)arg3, (GXVV)arg4, (int)arg5) → None:
Extract a profile of data along points provided.
Parameters:
Returns:

Nothing

Return type:

None

New in version 6.3.0.

value((float)arg1, (float)arg2, (float)arg3, (int)arg4) → float:
Get a value at a specific point
Parameters:
  • arg1 (float) – X Location
  • arg2 (float) – Y Location
  • arg3 (float) – Z Location
  • arg4 (int) – VOXE_EVAL constants
Returns:

Value at the point or DUMMY if not valid

Return type:

float

New in version 6.3.0.

vector((float)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5, (float)arg6, (GXVV)arg7, (int)arg8) → None:
Extract a profile of data along a vector
Parameters:
  • arg1 (float) – X Origin
  • arg2 (float) – Y Origin
  • arg3 (float) – Z Origin
  • arg4 (float) – X Delta
  • arg5 (float) – Y Delta
  • arg6 (float) – Z Delta
  • arg7 (geosoft.gx.GXVV) – Data VV (must be double)
  • arg8 (int) – VOXE_EVAL constants
Returns:

Nothing

Return type:

None

New in version 6.3.0.

VOXE_EVAL constants

Voxel Evaluation modes
gx.VOXE_EVAL_NEAR = 0
Nearest value
gx.VOXE_EVAL_INTERP = 1
Linear Interpolation
gx.VOXE_EVAL_BEST = 2
Best Interpolation