public static bool ApproxEqual(Euclidean2d r0, Euclidean2d r1, double angleTol, double posTol) { return(V2d.ApproxEqual(r0.Trans, r1.Trans, posTol) && Rot2d.ApproxEqual(r0.Rot, r1.Rot, angleTol)); }