class GeocentricTransform
   /**
     * Implementation of the inverse transformation.
     */
    private void inverseTransform(final float[] srcPts1, final double[]
srcPts2, int srcOff,
                                  final float[] dstPts1, final double[]
dstPts2, int dstOff,
                                  int numPts, final int dimTarget)
    {

Lines are:
           final double longitude = Math.toDegrees(Math.atan2(y      , x    
)); //37.52599790607511
            final double  latitude = Math.toDegrees(Math.atan(sin_p1 /
cos_p1));//NaN
Unfortunately, latitude is not calculated :(
 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Error-while-converting-geometris-tp5034025p5034195.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to