Click or drag to resize

CVOXResamplePG Method

Resample a voxel over an input volume to a PG.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
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 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
)

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: CPG
PG object, terminates on error
Remarks
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.
See Also