Global Mapper SDK
GM_LidarThin
Spatially thins a provided Lidar layer. The thin will be done in-place if possible. If not possible, aSetup->mThinnedLayer will be populated with the layer handle that was created. That layer becomes the caller's responsibility to close with GM_CloseLayer.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_LidarThin
(
GM_LayerHandle_t32 aLayer, // IN: Loaded Lidar layer to spatially thin
GM_LidarSpatialThinSetup_t* aLayerCount, // IN: Spatial thinning setup.
void* aReserved // IN: reserved for future use. Must be NULL.
)