| CVOXResamplePG Method |
Resample a voxel over an input volume to a PG.
Available since Oasis montaj version: 8.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Creates and dummies a PG object based on the input
dimensions, then resamples the voxel to the pager
at the locations determined by input projection, origin and spacings.
Syntax public CPG ResamplePG(
CIPJ ipj,
double orig_x,
double orig_y,
double orig_z,
double spacing_x,
double spacing_y,
double spacing_z,
int size_x,
int size_y,
int size_z,
double min_z,
double max_z,
int interp
)
Public Function ResamplePG (
ipj As CIPJ,
orig_x As Double,
orig_y As Double,
orig_z As Double,
spacing_x As Double,
spacing_y As Double,
spacing_z As Double,
size_x As Integer,
size_y As Integer,
size_z As Integer,
min_z As Double,
max_z As Double,
interp As Integer
) As CPG
public:
CPG^ ResamplePG(
CIPJ^ ipj,
double orig_x,
double orig_y,
double orig_z,
double spacing_x,
double spacing_y,
double spacing_z,
int size_x,
int size_y,
int size_z,
double min_z,
double max_z,
int interp
)
member ResamplePG :
ipj : CIPJ *
orig_x : float *
orig_y : float *
orig_z : float *
spacing_x : float *
spacing_y : float *
spacing_z : float *
size_x : int *
size_y : int *
size_z : int *
min_z : float *
max_z : float *
interp : int -> CPG
Parameters
- ipj
- Type: GeoEngine.Core.GXNetXCIPJ
Projection to use for Origin, Spacing values - orig_x
- Type: SystemDouble
Origin X - orig_y
- Type: SystemDouble
Origin Y - orig_z
- Type: SystemDouble
Origin Z - spacing_x
- Type: SystemDouble
Spacing in X - spacing_y
- Type: SystemDouble
Spacing in Y - spacing_z
- Type: SystemDouble
Spacing in Z - size_x
- Type: SystemInt32
Samples in X - size_y
- Type: SystemInt32
Samples in Y - size_z
- Type: SystemInt32
Samples in Z - min_z
- Type: SystemDouble
Minimum Z to resample (can be <define>rDUMMY</define>) - max_z
- Type: SystemDouble
Maximum Z to resample (can be <define>rDUMMY</define>) - interp
- Type: SystemInt32
<define>VOX_SLICE_MODE</define>
Return Value
Type:
CPGPG object, terminates on error
See Also