This function takes two points in 3D space represented by the 'pcl::PointXYZ' data type and calculates the Euclidean distance between them. The return value is a double representing the distance between the two points.

Calculate Euclidean Distance Between Two 3D Points (pcl::PointXYZ)