|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
java.lang.Object |
clone()
Returns a separate copy of this object. |
boolean |
equals(Projection anotherProjection)
Returns an indicator of whether this projection is the same as another. |
java.lang.String |
getAlias()
Return the alias of the projection |
java.lang.String |
getAlias(java.util.Locale locale)
Return the alias of the projection |
org.geotools.cs.CoordinateSystem |
getCoordinateSystem()
Method to compare projections. |
java.lang.String |
getMapCenterString(Point geoPoint,
double scaleFactor,
java.util.Locale locale)
Returns the map center coordinate text in the specified locale. |
java.lang.String |
getName()
Return the name of the projection |
java.lang.String |
getName(java.util.Locale locale)
Return the name of the projection |
java.lang.String |
getReportString(Point geoPoint,
double scaleFactor,
java.util.Locale locale)
Returns the report for the standard identify reports. |
java.lang.String |
getSrs()
Return the spatial reference system code. |
int |
getUnits()
Return the map units of the projection |
java.lang.String |
getUnitsString()
Return the map units of the projection as a string. |
boolean |
isGeographicCoordinateSystem()
Returns an indicator of whether this coordinate system is geographic. |
boolean |
isProjectedCoordinateSystem()
Returns an indicator of whether this coordinate system is projected (non-geographic). |
boolean |
isValid()
Gets an indicator of whether the projection is valid. |
Point |
project(Point point)
Projects a geographic position into this projection. |
void |
setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
Sets one of the attributes of this object using a string value. |
java.lang.String |
toString()
Displays the projection parameters as a string. |
java.lang.String |
toWktString()
Displays the projection parameters as a well known text string. |
Point |
unproject(Point point)
Unprojects a projection position into geographic. |
| Method Detail |
public java.lang.Object clone()
public boolean equals(Projection anotherProjection)
anotherProjection - The other projection.
public java.lang.String getAlias()
public java.lang.String getAlias(java.util.Locale locale)
locale - The locale to format text and numbers.
public org.geotools.cs.CoordinateSystem getCoordinateSystem()
public java.lang.String getMapCenterString(Point geoPoint,
double scaleFactor,
java.util.Locale locale)
geoPoint - A geographic point.scaleFactor - The current map scale factor for use in rounding results.locale - The Locale to use for number display.
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale - The locale to format text and numbers.
public java.lang.String getReportString(Point geoPoint,
double scaleFactor,
java.util.Locale locale)
public java.lang.String getSrs()
public int getUnits()
public java.lang.String getUnitsString()
public boolean isGeographicCoordinateSystem()
public boolean isProjectedCoordinateSystem()
public boolean isValid()
public Point project(Point point)
point - The geographic position.
public Point unproject(Point point)
point - The projected position.
public void setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The XML element tag containing this attribute (not used).name - The XML attribute name.value - The XML attribute value.public java.lang.String toString()
public java.lang.String toWktString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||