org.onebusaway.geospatial.services
Class Proj4Projection

java.lang.Object
  extended by org.onebusaway.geospatial.services.Proj4Projection
All Implemented Interfaces:
Serializable, ICoordinateProjection
Direct Known Subclasses:
UTMProjection

public class Proj4Projection
extends Object
implements ICoordinateProjection, Serializable

See Also:
Serialized Form

Constructor Summary
Proj4Projection(String... spec)
           
 
Method Summary
 boolean equals(Object obj)
          Object Interface
 XYPoint forward(CoordinatePoint point)
           
<T extends Collection<XYPoint>>
T
forward(Iterable<CoordinatePoint> source, T dest, int size)
           
 String[] getSpec()
           
 int hashCode()
           
<T extends Collection<CoordinatePoint>>
T
reverse(Iterable<XYPoint> source, T dest, int size)
           
 CoordinatePoint reverse(XYPoint point)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Proj4Projection

public Proj4Projection(String... spec)
Method Detail

getSpec

public String[] getSpec()

forward

public XYPoint forward(CoordinatePoint point)
Specified by:
forward in interface ICoordinateProjection

forward

public <T extends Collection<XYPoint>> T forward(Iterable<CoordinatePoint> source,
                                                 T dest,
                                                 int size)
Specified by:
forward in interface ICoordinateProjection

reverse

public CoordinatePoint reverse(XYPoint point)
Specified by:
reverse in interface ICoordinateProjection

reverse

public <T extends Collection<CoordinatePoint>> T reverse(Iterable<XYPoint> source,
                                                         T dest,
                                                         int size)
Specified by:
reverse in interface ICoordinateProjection

equals

public boolean equals(Object obj)
Object Interface

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.