Example #1
0
        public static double Test9_Inhomogenous(ref PointCloudVertices myPCLTarget, ref PointCloudVertices myPCLSource, ref PointCloudVertices myPCLResult)
        {
            myPCLTarget = PointCloudVertices.CreateCube_Corners(50);
            //myPCLTarget = Vertices.CreateSomePoints();
            myPCLSource = PointCloudVertices.CloneVertices(myPCLTarget);

            PointCloudVertices.InhomogenousTransform(myPCLSource, 2);

            myPCLResult = IterativeClosestPointTransform.Instance.PerformICP(myPCLSource, myPCLTarget);
            return(IterativeClosestPointTransform.Instance.MeanDistance);
        }