Package com.jhlabs.map.proj

Examples of com.jhlabs.map.proj.Projection.transform()


    Point2D.Double latlon = new Point2D.Double();
    double lon = latlon.x = 13.295053;
    double lat = latlon.y = 52.499847;
    Point2D.Double xy = new Point2D.Double();

    proj.transform(latlon, xy);
    System.out.println(xy);

    proj.inverseTransform(xy, latlon);
    System.out.println(latlon);
    assertEquals(lon, latlon.x, 0.001);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.