| java.lang.Object | |
| ↳ | com.carto.projections.Projection | 
   Known Direct Subclasses
  
 | 
An abstract base class for all projections.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| boolean | 
        equals(Object obj)
        
         Checks if this object is equal to the specified object. 
  
   | ||||||||||
| MapPos | 
        fromLatLong(double lat, double lng)
        
         Transforms a position given using latitutde-longitude coordinates from the WGS84 coordinate system to the coordinate system of this projection. 
  
   | ||||||||||
| MapPos | 
        fromWgs84(MapPos pos)
        
         Transforms a position from the WGS84 coordinate system to the coordinate system of this projection. 
  
   | ||||||||||
| MapBounds | 
        getBounds()
        
         Returns the bounds of this projection. 
  
   | ||||||||||
| String | 
        getName()
        
         Return name of this projection in Well-Known format. 
  
   | ||||||||||
| int | 
        hashCode()
        
         Returns the hash value of this object. 
  
   | ||||||||||
| MapPos | 
        toLatLong(double x, double y)
        
         Transforms a position from the coordinate system of this projection to the WGS84 coordinate system latitude-longitute coordinates. 
  
   | ||||||||||
| MapPos | 
        toWgs84(MapPos pos)
        
         Transforms a position from the coordinate system of this projection to the WGS84 coordinate system. 
  
   | ||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Checks if this object is equal to the specified object.
| obj | The reference object. | 
|---|
Transforms a position given using latitutde-longitude coordinates from the WGS84 coordinate system to the coordinate system of this projection.
| lat | The latitude in the WGS84 coordinate system. It should be in range -90..90. | 
        
|---|---|
| lng | The longitude in the WGS84 coordinate system. It should be in range -180..180. | 
        
Transforms a position from the WGS84 coordinate system to the coordinate system of this projection.
| pos | The position in the WGS84 coordinate system. It should be encoded as longitude-latitude. | 
        
|---|
Returns the bounds of this projection.
Return name of this projection in Well-Known format. For example, as "EPSG:3857"
Returns the hash value of this object.
Transforms a position from the coordinate system of this projection to the WGS84 coordinate system latitude-longitute coordinates.
| x | The x position in the coordinate system of this projection. | 
        
|---|---|
| y | The y position in the coordinate system of this projection. | 
        
Transforms a position from the coordinate system of this projection to the WGS84 coordinate system.
| pos | The position in the coordinate system of this projection. | 
        
|---|