Click or drag to resize

CMESHUTILApplyTransformation Method

Applies a transformation to a surface, see <define>SURFACE_TRANSFORMATION_METHOD</define>for available operations. The existing mesh will be preserved, and a new mesh will be created with the target name in the target file. Reprojection willbe handled automatically in the case that the coordinate systems differ.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void ApplyTransformation(
	CGXNETCore gxNetShared,
	string inputSurfaceFile,
	string inputSurfaceName,
	string outputSurfaceFile,
	string outputSurfaceName,
	int transformationMethod,
	double x,
	double y,
	double z
)

public static void ApplyTransformation(
	CGXNETCore gxNetShared,
	string inputSurfaceFile,
	string inputSurfaceName,
	string outputSurfaceFile,
	string outputSurfaceName,
	int transformationMethod,
	double x,
	double y,
	double z
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
inputSurfaceFile
Type: SystemString
Input surface file name
inputSurfaceName
Type: SystemString
Input surface layer (mesh) name
outputSurfaceFile
Type: SystemString
Output surface file name
outputSurfaceName
Type: SystemString
Output surface layer (mesh) name
transformationMethod
Type: SystemInt32
<define>SURFACE_TRANSFORMATION_METHOD</define>
x
Type: SystemDouble
X transformation component
y
Type: SystemDouble
Y transformation component
z
Type: SystemDouble
Z transformation component
See Also