public static bool CheckCloudAbs(PointCloud myPCLTarget, PointCloud myPCLResult, double threshold) { PointCloud pt = myPCLTarget.Clone(); PointCloud pr = myPCLResult.Clone(); for (int i = 0; i < myPCLTarget.Count; i++) { pt.Vectors[i].X = Math.Abs(pt.Vectors[i].X); pt.Vectors[i].Y = Math.Abs(pt.Vectors[i].Y); pt.Vectors[i].Z = Math.Abs(pt.Vectors[i].Z); pr.Vectors[i].X = Math.Abs(pr.Vectors[i].X); pr.Vectors[i].Y = Math.Abs(pr.Vectors[i].Y); pr.Vectors[i].Z = Math.Abs(pr.Vectors[i].Z); } return(PointCloud.CheckClouds(pt, pr, threshold)); }