GX3DC class

class GX3DC(handle=0)[source]

GX3DC class.

This is a 3D container class which facilitates rendering a 3D viewport to controls. To be used in tandem with the Geosoft.View3D.View class present in geoengine.3dv.csharp. Creation of the 3D container is facilitated through Create_3DC, and disposal through the instance method Destroy_3DC.

__init__(handle=0)[source]
classmethod create(handle)[source]

Create a 3D view container which can be used to instantiate a full 3D View.

Parameters:

handle (int) – Window handle for the OpenGL context.

Returns:

GX3DC object

Return type:

GX3DC

New in version 2022.2.

License: Geosoft Open License

See also

DestroyInternal_3DC

destroy_internal()[source]

Destroys a 3D container object and cleans up any unmanaged resources.

New in version 2022.2.

License: Geosoft Open License

get_geo_view()[source]

Retrieves the GeoView associated with the 3D container.

Return type:

9

New in version 2022.2.

License: Geosoft Open License

is_null()[source]

Check if this is a null (undefined) instance

Returns:

True if this is a null (undefined) instance, False otherwise.

Return type:

bool

classmethod null()[source]

A null (undefined) instance of GX3DC

Returns:

A null GX3DC

Return type:

GX3DC