Click or drag to resize
CIMG Class
The IMG class performs read and write operations on grid file data. When efficient access along both rows and columns is desired the PG class is recommended (see PG and PGU); the IMG is first created, then the PG is obtained from the IMG using GetPG_IMG.
Inheritance Hierarchy

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public class CIMG : CHANDLE

The CIMG type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyoneStatic memberAverage2
Reduce the dimensions in a 2D pager by a factor of 2
Public methodAvailable to anyoneCopy
Copy IMGs.
Public methodAvailable to anyoneStatic memberCreate
Creates an IMG not tied to a file at all
Public methodAvailable to anyoneStatic memberCreateFile
Creates an Image object tied to a grid file.
Public methodAvailable to anyoneStatic memberCreateMem
Creates an IMG object that is backed only by memory.
Public methodAvailable to anyoneStatic memberCreateNewFile
Creates an output image file using User defined info.
Public methodAvailable to anyoneStatic memberCreateOutFile
Creates an output image file using input image info.
Public methodAvailable to anyoneCreateProjected
Applies a projection to an image.
Public methodAvailable to anyoneCreateProjected2
Applies a projection to an image, specify cell size.
Public methodAvailable to anyoneCreateProjected3
Same as CreateProjected2_IMG, but set expansion of bounds.
Protected methodDispose
Releases the unmanaged resources used by the CIMG and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodAvailable to anyoneGethPG
Get the actual pager of a grid.
Public methodAvailable to anyoneGetInfo
Retrieves location information about this image.
Public methodAvailable to anyoneGetIPJ
Get the projection of a grid.
Public methodAvailable to anyoneGetMETA
Get the metadata of a grid.
Public methodAvailable to anyoneGetPG
Get a copy of the pager of a grid.
Public methodAvailable to anyoneGetProjectedCellSize
Returns default cell size from projected image.
Public methodAvailable to anyoneGetTR
Get the trend information from a grid.
Public methodAvailable to anyoneiElementType
Returns the element type.
Public methodAvailable to anyoneiEType
Returns the element type.
Public methodAvailable to anyoneiGetDefITR
Get default transform, if it exists
Public methodAvailable to anyoneiIsColour
Is this a Geosoft colour grid?
Public methodAvailable to anyoneStatic memberiIsValidIMGFile
Is this a valid IMG file?
Public methodAvailable to anyoneStatic memberiIsValidIMGFileEx
Is this a valid IMG file? Returns error message if it cannot be opened for any reason.
Public methodAvailable to anyoneiNE
Gets the # of elements in the optimal KX direction.
Public methodAvailable to anyoneInherit
Inherit a projection/new cell size on the IMG.
Public methodAvailable to anyoneInheritIMG
Make a grids match in size and coordinate system
Public methodAvailable to anyoneiNV
Gets the # of vectors in the optimal KX direction.
Public methodAvailable to anyoneiNX
Gets the # of X elements.
Public methodAvailable to anyoneiNY
Gets the # of Y elements.
Public methodAvailable to anyoneiQuery
Query information about the IMG
Public methodAvailable to anyoneiQueryKX
Asks the IMG for the most efficient way to access the data.
Public methodAvailable to anyoneiSetDefITR
Set default transform
Public methodAvailable to anyone with an Oasis Montaj licenseStatic memberiUserPreferenceToPlotAsColourShadedGrid
Returns the global setting.
Public methodAvailable to anyoneLoadIMG
Loads an IMG into a master IMG.
Public methodAvailable to anyoneLoadIntoPager
Load IMG data from file into a pager to increase access time.
Public methodAvailable to anyoneOptKX
Force optimal KX as desired.
Public methodAvailable to anyoneReadV
Read a vector in the optimal KX direction.
Public methodAvailable to anyoneReadX
Read a column (constant X)
Public methodAvailable to anyoneReadY
Read a row (constant Y)
Public methodAvailable to anyone with an Oasis Montaj licenseStatic memberRefreshGI
Refresh the GI of a grid after it has moved or changed.
Public methodAvailable to anyoneRelocate
Re-locate a grid image.
Public methodAvailable to anyoneStatic memberReport
Writes grid info report to a file
Public methodAvailable to anyoneStatic memberReportCSV
Writes grid info as a line to a CSV file
Public methodAvailable to anyonerGetRealParameter
Store a real parameter in an IMG object
Public methodAvailable to anyonerGetZ
Gets the grid value at a point
Public methodAvailable to anyonerQuery
Query information about the IMG
Public methodAvailable to anyoneSetGridUnchanged
Mark the grid as unchanged so it will not output lineage
Public methodAvailable to anyoneSetInfo
Sets location information about this image.
Public methodAvailable to anyoneSetIPJ
Set the projection of a grid.
Public methodAvailable to anyoneSetMETA
Set the metadata of a grid.
Public methodAvailable to anyoneSetPG
Copy a pager into the pager of a grid.
Public methodAvailable to anyoneSetRealParameter
Store a real parameter in an IMG object
Public methodAvailable to anyoneSetTR
Set the trend information to a grid.
Public methodAvailable to anyone with an Oasis Montaj licenseStatic memberSync
Syncronize the Metadata for this Grid
Public methodAvailable to anyoneWriteV
Write a vector in the optimal KX direction.
Public methodAvailable to anyoneWriteX
Write a column (constant X)
Public methodAvailable to anyoneWriteY
Write a row (constant Y)
Top
See Also