// from MercatorProjection#rawProject
PVector point2 = new PVector(point1.x, PApplet.log(PApplet.tan(0.25f * PApplet.PI + 0.5f * point1.y)));
System.out.printf("\tpoint2 : x = %.9f y = %.9f \n", point2.x, point2.y);
// from AbstractProjection#project
Transformation transformation = new Transformation(1.068070779e7f, 0.0f, 3.355443185e7f, 0.0f,
-1.068070890e7f, 3.355443057e7f);
PVector point3 = transformation.transform(point2);
System.out.printf("\tpoint3a : x = %.9f y = %.9f \n", point3.x, point3.y);
double x = 1.068070779e7 * point2.x + 0.0 * point2.y + 3.355443185e7;
double y = 0.0 * point2.x + -1.068070890e7 * point2.y + 3.355443057e7;
System.out.printf("\tpoint3b : x = %.9f y = %.9f \n", x, y);