Initialise a map and allocate required memory.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
bool zmap_Init(ZMAP hMap, long nx, long ny, long MapTypeID, float HorizScale, bool WrapFlag);
Name | Type | Comment |
---|---|---|
hMap | ZMAP | a ZMAP handle to a map variable. |
nx | long | The number of pixels in the x-direction (width). |
ny | long | The number of pixels in the y-direction (height). |
MapTypeID | long | The integer identifier for the map type. |
HorizScale | float | The distance between neighbouring pixels in the x- or y-axes, measured in metres. |
WrapFlag | bool | A boolean value indicating whether the left/right and top/bottom edges of the map 'wrap' around to produce an infinitely tiling map. |
False if an error occurred, and true otherwise.
None.