All Classes Functions Variables Properties
GridCom Documentation

Module

GridCOM Module description

COM Interface

The grid module contains all of the code that manages static spatial data. This includes building the grid objects from gridded data, storing binary grid information, and providing access to the grid data for use by other modules. It also includes a database for associating fuel types with grid indicies. A COM object to store and manipulate vector data (from SHP or GEN files) also exists in this COM DLL. Filter objects analogous to GIS layers, intended to modify this data, are also in this COM DLL. It manages objects defined in FuelCOM.

Defines used for various routines found in this module are as follows:

#define CWFGM_ATTRIBUTE_LOAD_WARNING 10000
#define CWFGM_GRID_ATTRIBUTE_LATITUDE 10001
#define CWFGM_GRID_ATTRIBUTE_LONGITUDE 10002
#define CWFGM_GRID_ATTRIBUTE_XLLCORNER 10003
#define CWFGM_GRID_ATTRIBUTE_YLLCORNER 10004
#define CWFGM_GRID_ATTRIBUTE_PLOTRESOLUTION 10005
#define CWFGM_GRID_ATTRIBUTE_SPATIALREFERENCE 10006
#define CWFGM_ATTRIBUTE_ASCII_GRIDFILE_HEADER 10007
#define CWFGM_GRID_ATTRIBUTE_DEFAULT_ELEVATION 10100
#define CWFGM_GRID_ATTRIBUTE_MEDIAN_ELEVATION 10101
#define CWFGM_GRID_ATTRIBUTE_MEAN_ELEVATION 10102
#define CWFGM_GRID_ATTRIBUTE_MIN_ELEVATION 10103
#define CWFGM_GRID_ATTRIBUTE_MAX_ELEVATION 10104
#define CWFGM_GRID_ATTRIBUTE_MIN_SLOPE 10105
#define CWFGM_GRID_ATTRIBUTE_MAX_SLOPE 10106
#define CWFGM_GRID_ATTRIBUTE_MIN_AZIMUTH 10107
#define CWFGM_GRID_ATTRIBUTE_MAX_AZIMUTH 10108
#define CWFGM_GRID_ATTRIBUTE_TIMEZONE 10200
#define CWFGM_GRID_ATTRIBUTE_DAYLIGHT_SAVINGS 10201
#define CWFGM_GRID_ATTRIBUTE_DST_START 10203
#define CWFGM_GRID_ATTRIBUTE_DST_END 10204
#define CWFGM_GRID_ATTRIBUTE_FUELS_PRESENT 10300
#define CWFGM_GRID_ATTRIBUTE_DEM_PRESENT 10301
#define CWFGM_GRID_ATTRIBUTE_DEM_NODATA_EXISTS 10302
#define CWFGM_GRID_ATTRIBUTE_DEFAULT_FMC 10303