Click or drag to resize

CMVUImportGOCADSurface Method

Import and plot a GOCAD surface model.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void ImportGOCADSurface(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	string file,
	int col
)

public static void ImportGOCADSurface(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	string file,
	int col
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
mview
Type: GeoEngine.Core.GXNetXCMVIEW
View
file
Type: SystemString
GOCAD file name
col
Type: SystemInt32
Color to plot (<define>C_TRANSPARENT</define> to use file-defined color).
Remarks
The vertex normals are not included in the GOCAD import, but are calculated using the normal of each defined triangle, and taking the average when vertex is shared among more than one triangle.
See Also