| GM_Constants Class |
Defines all of the relevant constants to use for the SDK
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
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
| |
| Equals | (Inherited from Object .) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
| |
| GetHashCode | Serves as a hash function for a particular type.
(Inherited from
Object
.)
| |
| GetType | Gets the type of the current instance.
(Inherited from
Object
.)
| |
| 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]
| |
| MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
| |
| 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
| |
| ToString | Returns a string that represents the current object.
(Inherited from
Object
.)
| |
| GM_MERIDIAN_CASTANEA | Returns Castanea Meridian Value | |
| GM_MERIDIAN_FERRO | Returns Ferro Meridian Value | |
| GM_MERIDIAN_GENOVA | Returns Genova Meridian Value | |
| GM_MERIDIAN_MONTE_MARIO | Returns Monte Mario Meridian Value | |
| GM_MERIDIAN_OSLO | Returns Oslo Meridian Value | |
| GM_MERIDIAN_PARIS | Returns Paris Meridian Value | |
| GM_MERIDIAN_ROME | Returns Rome Meridian Value | |
| GM_MERIDIAN_STOCKHOLM | Returns Stockholm Meridian Value | |
| IS_CUSTOM_DATUM(DATUM) | Checks if Datum Value is in Custom Datum range | |
| IS_CUSTOM_DATUM(short) | Checks if Short Value is in Custom Datum range | |
| IS_IP_DATUM(DATUM) | Checks if Datum Value is in the Interplanitary range | |
| IS_IP_DATUM(short) | Checks if Datum Value is in the Interplanitary range | |
| UPDATE_MIN_MAX | Update min/max values based on new 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 extra-bold font weight | |
| FW_EXTRALIGHT | Number to define extra-light 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 semi-bold 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 |