root/trunk/as2/lib/com/modestmaps/geo/IProjection.as

Revision 292, 0.7 kB (checked in by migurski, 1 year ago)

Added Id keywords all over the place

  • Property svn:keywords set to Id
Line 
1 /*
2  * $Id$
3  */
4
5 import flash.geom.Point;
6 import com.modestmaps.core.Coordinate;
7 import com.modestmaps.geo.Location;
8  
9 interface com.modestmaps.geo.IProjection
10 {
11    /*
12     * Return projected and transformed point.
13     */
14     public function project(point:Point):Point;
15    
16    /*
17     * Return untransformed and unprojected point.
18     */
19     public function unproject(point:Point):Point;
20    
21    /*
22     * Return projected and transformed coordinate for a location.
23     */
24     public function locationCoordinate(location:Location):Coordinate;
25    
26    /*
27     * Return untransformed and unprojected location for a coordinate.
28     */
29     public function coordinateLocation(coordinate:Coordinate):Location;
30    
31     public function toString():String;
32 }
Note: See TracBrowser for help on using the browser.