Global Mapper SDK
GM_FitPointClouds is used to align a point cloud with either 3D control points or another point cloud, minimizing the X, Y, and Z differences. 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* aLayersToCompare, // 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_LidarBestFitSetup_t* aSetup // IN: A setup options best fit, None for default options
)
Comments
0 comments
Please sign in to leave a comment.