GM_Constants Class 
Namespace: GlobalMapper
public class GM_Constants
The GM_Constants type exposes the following members.
Name  Description  

GM_Constants  Initializes a new instance of the GM_Constants class 
Name  Description  

DEGTORAD 
Converts Degrees to Radians
 
GM_NORMALIZE_ANGLE_DEG 
Define macro to normalize an angle value in degrees to [0,360]
 
GM_NORMALIZE_ANGLE_RAD 
Normalize an angle value in radians to [0,2*PI]
 
RADTODEG 
Converts Radians to Degrees
 
RGB_TO_GRAY(Color) 
Convert Color to a gray value
 
RGB_TO_GRAY(Int32, Int32, Int32) 
Convert RGB colors (or COLORREF) to a gray value

Name  Description  

FW_BLACK  Same as Heavy  
FW_BOLD  Number to define bold font weight  
FW_DEMIBOLD  Same as Semi Bold  
FW_DONTCARE  Don't care what font weight  
FW_EXTRABOLD  Number to define extrabold font weight  
FW_EXTRALIGHT  Number to define extralight font weight  
FW_HEAVY  Number to define heavy font weight  
FW_LIGHT  Number to define light font weight  
FW_MEDIUM  Number to define medium font weight  
FW_NORMAL  Number to define normal font weight  
FW_REGULAR  Same as Regular  
FW_SEMIBOLD  Number to define semibold font weight  
FW_THIN  Number to define thin font weight  
FW_ULTRABOLD  Same as Extra Bold  
FW_ULTRALIGHT  Same as Extra Light  
GM_GRID_DFLT_BIN_GAP_FILL_SIZE  Default gap fill size for gridding point clouds  
GM_GRID_DFLT_BIN_SIZE  Default bin size for gridding point clouds  
GM_GRID_DISABLE_GAP_FILL  Small value to disable gap filling altogether  
GM_GRID_FILL_ALL_GAPS  Fill all gaps regardless of size  
GM_GROUP_SEP_STR  Define separator string to use in the group name for a layer for specifying nested groups  
GM_INTENSITY_MAX_VALID  Maximum valid value for intensity  
GM_INTENSITY_MIN_VALID  Minimum valid value for intensity  
GM_INVALID_COLOR  Define an invalid color (for Color)  
GM_INVALID_ELEV_VALUE  Define an invalid elevation value  
GM_MAX_NON_REGISTERED_VECTOR_IDX 
Define index of last area, line, or point feature that you can get without a license with GM_Get*Feature functions
 
GM_NDVI_MAX_BARE  Maximum NDVI vlaue that is likely bare earth, water, building, etc.  
GM_NDVI_MAX_VALID  Minimum valid value for NDVI  
GM_NDVI_MIN_VALID  Minimum valid value for NDVI  
GM_NDVI_MIN_VEG  Minimum NDVI value that is very likely vegetation  
GM_NDWI_MAX_NON_WATER  Maximum NDWI value that is likely not water  
GM_NDWI_MAX_VALID  Minimum valid value for NDWI  
GM_NDWI_MAX_VEG  Max value that is likely some kind of vegetation  
GM_NDWI_MIN_VALID  Minimum valid value for NDWI  
GM_NDWI_MIN_WATER  Minimum NDWI value that is likely water or a building  
LIDAR_INVALID_COLOR 
Define an invalid RGB color for Lidar use
 
LOG2_VAL  Log 2  
PI  wgs'84 value of pi  
TWO_PI  2.0 * PI 