|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.csct.cs.Info
org.deegree.model.csct.cs.CoordinateSystem
org.deegree.model.csct.cs.GeocentricCoordinateSystem
public class GeocentricCoordinateSystem
A 3D coordinate system, with its origin at the center of the Earth. The X axis points towards the prime meridian. The Y axis points East or West. The Z axis points North or South. By default the Z axis will point North, and the Y axis will point East (e.g. a right handed system), but you should check the axes for non-default values.
| Field Summary | |
|---|---|
static GeocentricCoordinateSystem |
DEFAULT
The default geocentric coordinate system. |
| Fields inherited from class org.deegree.model.csct.cs.Info |
|---|
pool |
| Constructor Summary | |
|---|---|
GeocentricCoordinateSystem(Map properties,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo[] axis)
Construct a geocentric coordinate system. |
|
GeocentricCoordinateSystem(String name,
HorizontalDatum datum)
Construct a geocentric coordinate system with default axis. |
|
GeocentricCoordinateSystem(String name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian)
Construct a geocentric coordinate system with default axis. |
|
GeocentricCoordinateSystem(String name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo[] axis)
Construct a geocentric coordinate system. |
|
| Method Summary | |
|---|---|
(package private) String |
addString(StringBuffer buffer)
Fill the part inside "[...]". |
boolean |
equivalents(CoordinateSystem cs)
Returns true if this coordinate system is equivalents to the specified
coordinate system. |
AxisInfo |
getAxis(int dimension)
Gets axis details for dimension within coordinate system. |
(package private) Datum |
getDatum()
Override CoordinateSystem.getDatum(). |
int |
getDimension()
Returns the dimension of this coordinate system, which is usually 3. |
HorizontalDatum |
getHorizontalDatum()
Returns the horizontal datum. |
PrimeMeridian |
getPrimeMeridian()
Returns the prime meridian. |
Unit |
getUnits(int dimension)
Gets units for dimension within coordinate system. |
| Methods inherited from class org.deegree.model.csct.cs.CoordinateSystem |
|---|
checkAxis, equals, getDefaultEnvelope, getUnits |
| Methods inherited from class org.deegree.model.csct.cs.Info |
|---|
addString, addUnit, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, hashCode, readResolve, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final GeocentricCoordinateSystem DEFAULT
| Constructor Detail |
|---|
public GeocentricCoordinateSystem(String name,
HorizontalDatum datum)
name - The coordinate system name.datum - The horizontal datum.
public GeocentricCoordinateSystem(String name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian)
name - The coordinate system name.unit - The linear unit.datum - The horizontal datum.meridian - The prime meridian.
public GeocentricCoordinateSystem(String name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo[] axis)
name - The coordinate system name.unit - The linear unit.datum - The horizontal datum.meridian - The prime meridian.axis - The axis info. This is usually an array of lenght 3.
GeocentricCoordinateSystem(Map properties,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo[] axis)
properties - The set of properties (see Info).unit - The linear unit.datum - The horizontal datum.meridian - The prime meridian.axis - The axis info. This is usually an array of lenght 3.| Method Detail |
|---|
public int getDimension()
getDimension in interface DimensionedgetDimension in class CoordinateSystemfinal Datum getDatum()
CoordinateSystem.getDatum().
getDatum in class CoordinateSystempublic HorizontalDatum getHorizontalDatum()
public Unit getUnits(int dimension)
GeocentricCoordinateSystem, the units is the same for all axis.
getUnits in class CoordinateSystemdimension - Zero based index of axis.
public AxisInfo getAxis(int dimension)
getAxis in class CoordinateSystemdimension - Zero based index of axis.
public PrimeMeridian getPrimeMeridian()
public boolean equivalents(CoordinateSystem cs)
true if this coordinate system is equivalents to the specified
coordinate system. Two coordinate systems are considered equivalent if the
CoordinateTransformation from this to
cs would be the identity transform. The default implementation compare datum,
units and axis, but ignore name, alias and other meta-data informations.
equivalents in class CoordinateSystemcs - The coordinate system (may be null).
true if both coordinate systems are equivalent.String addString(StringBuffer buffer)
buffer -
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net