GM_LidarCompare

Compares one or more loaded point cloud layers to one or more other point cloud layers. Any points in 'aLayersToCompare' that are more than the distance specified in 'aSetup' from compatible points in 'aLayersToCompareTo' will be marked as different and added to a newly generated point layer.

The new point layer becomes the caller's responsibility to close with a call to GM_CloseLayer.

If you want to only compare a subset of the points in a cloud, first use GM_CreateLidarQuery to build the two sets of points that you want to compare, then use GM_LidarCompareFromQuery to do the comparison.

Syntax

C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_LidarCompare
(
GM_LayerHandle_t32*         aLayersToCompareTo,        // IN: List of one or more loaded Lidar layers to compare other point cloud layers against.
uint32                      aNumLayersToCompareTo,     // IN: How many layers are in the list pointed to by mLayersToCompareTo
GM_LayerHandle_t32*         aNumLayersToCompare,       // IN: List of one or more loaded Lidar layers to compare against the point cloud layers in mLayersToCompareTo
uint32                      aNumLayersToCompare,       // IN: How many layers are in the list pointed to by mLayersToCompare
GM_LidarCompareSetup_t*     aSetup,                    // 
void*                       aReserved                  // IN: Reserved for future use, must be NULL
)