Hi Abel,

I'm sorry about the delay in replying.

> Hi Michael. How calculate value direction in geodeticcalculator?
>

Do you mean how to calculate the bearing from one location to another
?  If so, the getAzimuth method of GeodeticCalculcator is your
friend...

For example:
calc.setStartingGeographicPoint( long0, lat0 );
calc.setDestinationGeographicPoint( long1, lat1 );

// get the direction from the start to the destination point
double dir = calc.getAzimuth();

Hope this helps
Michael

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to