org.onebusaway.geospatial.services
Class Proj4Projection
java.lang.Object
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
Proj4Projection
public Proj4Projection(String... spec)
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 © 2012 OneBusAway. All Rights Reserved.