 | 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
Syntaxpublic 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
)
Public Shared Function Import3DPolygon (
gxNetShared As CGXNETCore,
mview As CMVIEW,
name As String,
vv_vx As CVV,
vv_vy As CVV,
vv_vz As CVV,
color As Integer,
extruded As Integer
) As Integer
Public Shared Function Import3DPolygon (
gxNetShared As CGXNETCore,
mview As CMVIEW,
name As String,
vv_vx As CVV,
vv_vy As CVV,
vv_vz As CVV,
color As Integer,
extruded As Integer
) As Integer
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
)
static member Import3DPolygon :
gxNetShared : CGXNETCore *
mview : CMVIEW *
name : string *
vv_vx : CVV *
vv_vy : CVV *
vv_vz : CVV *
color : int *
extruded : int -> int
static member Import3DPolygon :
gxNetShared : CGXNETCore *
mview : CMVIEW *
name : string *
vv_vx : CVV *
vv_vy : CVV *
vv_vz : CVV *
color : int *
extruded : int -> int
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
RemarksRequirements -- 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