|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cts.IdentifiableComponent
org.cts.crs.GeodeticCRS
org.cts.crs.ProjectedCRS
public class ProjectedCRS
A Projected CoordinateReferenceSystem is a
CoordinateReferenceSystem based on a GeodeticDatum and a Projection
operation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.cts.crs.CoordinateReferenceSystem |
|---|
CoordinateReferenceSystem.Type |
| Field Summary | |
|---|---|
static CoordinateSystem |
EN_CS
A 2D CoordinateSystem whose first Axis contains easting
and second Axis contains northing. |
static CoordinateSystem |
NE_CS
A 2D CoordinateSystem whose first Axis contains northing
and second Axis contains easting. |
| Fields inherited from class org.cts.crs.GeodeticCRS |
|---|
coordinateSystem |
| Fields inherited from interface org.cts.Identifiable |
|---|
DEFAULT, LOCAL, UNKNOWN |
| Constructor Summary | |
|---|---|
ProjectedCRS(Identifier identifier,
GeodeticDatum datum,
CoordinateSystem coordSys,
Projection projection)
Create a new ProjectedCRS. |
|
ProjectedCRS(Identifier identifier,
GeodeticDatum datum,
Projection projection)
Create a new ProjectedCRS. |
|
ProjectedCRS(Identifier identifier,
GeodeticDatum datum,
Projection projection,
Unit unit)
Create a new ProjectedCRS. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Returns true if object is equals to this. |
CoordinateOperation |
fromGeographicCoordinateConverter()
Creates a CoordinateOperation object to convert coordinates from a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m) to this CoordinateReferenceSystem. |
Projection |
getProjection()
Returns the Projection to which this
CoordinateReferenceSystem is refering. |
CoordinateReferenceSystem.Type |
getType()
Returns this CoordinateReferenceSystem Type. |
int |
hashCode()
Returns the hash code for this ProjectedCRS. |
CoordinateOperation |
toGeographicCoordinateConverter()
Creates a CoordinateOperation object to convert coordinates from this CoordinateReferenceSystem to a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m). |
String |
toWKT()
Returns a WKT representation of the projected CRS. |
| Methods inherited from class org.cts.crs.GeodeticCRS |
|---|
addCRSTransformation, addGridTransformation, getCoordinateSystem, getCRSTransformations, getCRSTransformations, getDatum, getDimension, getGridTransformations, getGridTransformations, isValid, toString |
| Methods inherited from class org.cts.IdentifiableComponent |
|---|
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.cts.Identifiable |
|---|
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName |
| Field Detail |
|---|
public static CoordinateSystem EN_CS
CoordinateSystem whose first Axis contains easting
and second Axis contains northing. The unit used by these axes is
meter.
public static CoordinateSystem NE_CS
CoordinateSystem whose first Axis contains northing
and second Axis contains easting. The unit used by these axes is
meter.
| Constructor Detail |
|---|
public ProjectedCRS(Identifier identifier,
GeodeticDatum datum,
CoordinateSystem coordSys,
Projection projection)
identifier - the identifier of the ProjectedCRSdatum - the datum associated with the ProjectedCRScoordSys - the coordinate system associated with the ProjectedCRSprojection - the projection used in the ProjectedCRS
public ProjectedCRS(Identifier identifier,
GeodeticDatum datum,
Projection projection,
Unit unit)
Axis of the associated
CoordinateSystem contains easting and the second Axis
contains northing.
identifier - the identifier of the ProjectedCRSdatum - the datum associated with the ProjectedCRSprojection - the projection used in the ProjectedCRSunit - the length unit to use for the coordinate system associated
with the ProjectedCRS
public ProjectedCRS(Identifier identifier,
GeodeticDatum datum,
Projection projection)
Axis of the associated
CoordinateSystem contains easting and the second Axis
contains northing.
identifier - the identifier of the ProjectedCRSdatum - the datum associated with the ProjectedCRSprojection - the projection used in the ProjectedCRS| Method Detail |
|---|
public Projection getProjection()
CoordinateReferenceSystemProjection to which this
CoordinateReferenceSystem is refering. It returns null if no
projection is defined for this CRS.
getProjection in interface CoordinateReferenceSystemgetProjection in class GeodeticCRSGeodeticCRS.getProjection()public CoordinateReferenceSystem.Type getType()
CoordinateReferenceSystem
getType in interface CoordinateReferenceSystemgetType in class GeodeticCRSGeodeticCRS.getType()
public CoordinateOperation toGeographicCoordinateConverter()
throws NonInvertibleOperationException
GeodeticCRS
toGeographicCoordinateConverter in class GeodeticCRSNonInvertibleOperationExceptionGeodeticCRS.toGeographicCoordinateConverter()public CoordinateOperation fromGeographicCoordinateConverter()
GeodeticCRS
fromGeographicCoordinateConverter in class GeodeticCRSGeodeticCRS.fromGeographicCoordinateConverter()public String toWKT()
toWKT in interface CoordinateReferenceSystemtoWKT in class GeodeticCRSpublic boolean equals(Object o)
this. Tests equality between identifiers, then tests if the
components of this ProjectedCRS are equals : the grids transformations,
the GeodeticDatum, the CoordinateSystem and the
Projection.
equals in class GeodeticCRSobject - The object to compare this ProjectedCRS againstpublic int hashCode()
hashCode in class GeodeticCRS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||