Click or drag to resize

CKMLImport3DPolygon Method

Imports a KML 3D polygon into a provided view.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int Import3DPolygon(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	string name,
	CVV vv_vx,
	CVV vv_vy,
	CVV vv_vz,
	int color,
	int extruded
)

public static int Import3DPolygon(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	string name,
	CVV vv_vx,
	CVV vv_vy,
	CVV vv_vz,
	int color,
	int extruded
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
mview
Type: GeoEngine.Core.GXNetXCMVIEW
MVIEW object - the (3d) view to import the polygon into.
name
Type: SystemString
The name of the resulting polygon group.
vv_vx
Type: GeoEngine.Core.GXNetXCVV
X Vertex Components - VV of GS_REAL
vv_vy
Type: GeoEngine.Core.GXNetXCVV
Y Vertex Components - VV of GS_REAL
vv_vz
Type: GeoEngine.Core.GXNetXCVV
Z Vertex Components - VV of GS_REAL
color
Type: SystemInt32
The colour of the resulting surface - COL_ANY.
extruded
Type: SystemInt32
Extrude the polygon to the base - BOOL.

Return Value

Type: Int32
Remarks
Requirements -- The MVIEW must be 3D and valid (see iIsView3D_MVIEW);- The group name must not be null/empty;- The three VV for vector components must contain vertices, and be of equal length.
See Also