 | 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
Syntaxpublic static void ImportGOCADSurface(
CGXNETCore gxNetShared,
CMVIEW mview,
string file,
int col
)
public static void ImportGOCADSurface(
CGXNETCore gxNetShared,
CMVIEW mview,
string file,
int col
)
Public Shared Sub ImportGOCADSurface (
gxNetShared As CGXNETCore,
mview As CMVIEW,
file As String,
col As Integer
)
Public Shared Sub ImportGOCADSurface (
gxNetShared As CGXNETCore,
mview As CMVIEW,
file As String,
col As Integer
)
public:
static void ImportGOCADSurface(
CGXNETCore^ gxNetShared,
CMVIEW^ mview,
String^ file,
int col
)
public:
static void ImportGOCADSurface(
CGXNETCore^ gxNetShared,
CMVIEW^ mview,
String^ file,
int col
)
static member ImportGOCADSurface :
gxNetShared : CGXNETCore *
mview : CMVIEW *
file : string *
col : int -> unit
static member ImportGOCADSurface :
gxNetShared : CGXNETCore *
mview : CMVIEW *
file : string *
col : int -> unit
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