# Coordinate System

(Difference between revisions)
 Revision as of 09:27, 24 March 2008 (edit)Asantiago (Talk | contribs)← Previous diff Revision as of 08:39, 11 January 2018 (edit) (undo)Monday (Talk | contribs) Next diff → Line 1: Line 1: - ==Coordinate System== + hll20180112 - + http://www.outletmichaelkorsonline.us.com - WWJ uses an [http://en.wikipedia.org/wiki/ECEF ECEF] Cartesian coordinate system. Conversions from geodetic (lat, lon, altitude) to Cartesian are computed in the globe class (''EllipsodialGlobe.geodeticToCartesian(...)''), where the conversion is essentially applying an Equirectangular projection (or the reverse in the case of geodeticToCartesian()). WWJ uses WGS84 as a means to establish the center and orientation of the earth. + http://www.coach-outletonlines.us.com - + http://www.mulberry-bags.me.uk - As described in the javadoc of method ''EllipsodialGlobe.geodeticToCartesian(...)'': + http://www.ralphlaurensale-clearance.me.uk -
-                                                                                      // The code below maps latitude / longitude position to globe-centered Cartesian coordinates.                                                                                                                                                                                                                                                                                                                                                                                                                                           +                                                                                         http://www.ultraboost.us
-                                                                                      // The Y axis points to the north pole. The Z axis points to the intersection of the prime                                                                                                                                                                                                                                                                                                                                                                                                                                              +                                                                                         http://wwwcanadagoose-uk.com.co
-                                                                                      // meridian and the equator, in the equatorial plane. The X axis completes a right-handed                                                                                                                                                                                                                                                                                                                                                                                                                                               +                                                                                         http://www.longchampoutletus.us.com
-                                                                                      // coordinate system, and is 90 degrees east of the Z axis and also in the equatorial plane.                                                                                                                                                                                                                                                                                                                                                                                                                                            +                                                                                         http://www.philippplein-outlet.com
-
+ http://www.polooutlets.us.org - + http://www.katespadeonlineoutlet.us.com - Positions (lat/lon/elev) are transformed to points (represented in Vec4 instances) in the cartesian coordinate system used by OpenGL (see [http://www.colorado.edu/geography/gcraft/notes/coordsys/gif/ecefxyz.gif image]). Next methods transforms from Position to point and from point to Position. + http://www.canadagoosesalejackets.us.com -
+                                                                                         http://www.hermes.us.org
-                                                                                      Vec4 point = globe.computePointFromPosition(lat, lon, elevation);                                                                                                                                                                                                                                                                                                                                                                                                                                                                       +                                                                                         http://www.ralphlaurensale-clearance.org.uk
-                                                                                      Position pos = globe.computePositionFromPoint(point);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   +                                                                                         http://www.burberry-outlet-canada.ca
-
+ http://www.cheapoakleysunglassesofficial.us.com - + http://www.cheapraybans.com.co - Once you have a point in cartesian CS you can get the screen position (relative to the canvas) with: + http://www.air-max2018.us.com -
+                                                                                         http://www.red-bottoms.us.com
-                                                                                      Vec4 scr = view.project(point);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         +                                                                                         http://www.pandorajewelrypandora.us.com
-