com.partnersoft.geometry.projection
Class CoordinateSystem
java.lang.Object
com.partnersoft.geometry.projection.CoordinateSystem
- All Implemented Interfaces:
- Coggable, Immutable
public class CoordinateSystem
- extends java.lang.Object
- implements Coggable, Immutable
A coordinate system consists of a projection and measurement units.
Copyright 2005-2009 Partner Software, Inc.
- Version:
- $Id: CoordinateSystem.java 2474 2010-03-13 14:28:43Z paul $
- Author:
- Paul Reavis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CoordinateSystem
public CoordinateSystem()
CoordinateSystem
public CoordinateSystem(java.lang.String projectionName,
java.lang.String unitsName)
CoordinateSystem
public CoordinateSystem(Cog state)
toCog
public Cog toCog()
- Description copied from interface:
Coggable
- Returns the complete internal state of this object in the form of a
Cog.
- Specified by:
toCog in interface Coggable
- Returns:
- Cog representing the internal state of this object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getProjectionName
public java.lang.String getProjectionName()
getProjection
public Projection getProjection()
getUnitsName
public java.lang.String getUnitsName()
getLinearUnit
public LinearUnit getLinearUnit()
getMinimumX
public double getMinimumX()
getMinimumY
public double getMinimumY()
getMaximumX
public double getMaximumX()
getMaximumY
public double getMaximumY()
hasBounds
public boolean hasBounds()
getBounds
public XyBounds getBounds()
withBounds
public CoordinateSystem withBounds(double minimumX,
double minimumY,
double maximumX,
double maximumY)