|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.cs.Info org.geotools.cs.CoordinateSystem org.geotools.cs.GeocentricCoordinateSystem
DefaultGeocentricCRS
.
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.
CS_GeocentricCoordinateSystem
,
Serialized FormField Summary | |
static GeocentricCoordinateSystem |
DEFAULT
Deprecated. The default geocentric coordinate system. |
Fields inherited from interface org.opengis.referencing.ReferenceSystem |
SCOPE_KEY, VALID_AREA_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
GeocentricCoordinateSystem(java.lang.CharSequence name,
HorizontalDatum datum)
Deprecated. Constructs a geocentric coordinate system with default axis. |
|
GeocentricCoordinateSystem(java.lang.CharSequence name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian)
Deprecated. Constructs a geocentric coordinate system with default axis. |
|
GeocentricCoordinateSystem(java.lang.CharSequence name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo[] axis)
Deprecated. Constructs a geocentric coordinate system. |
Method Summary | |
boolean |
equals(Info object,
boolean compareNames)
Deprecated. Compare this coordinate system with the specified object for equality. |
AxisInfo |
getAxis(int dimension)
Deprecated. Gets axis details for dimension within coordinate system. |
int |
getDimension()
Deprecated. Returns the dimension of this coordinate system, which is usually 3. |
HorizontalDatum |
getHorizontalDatum()
Deprecated. Replaced by AbstractSingleCRS.getDatum() . |
PrimeMeridian |
getPrimeMeridian()
Deprecated. Replaced by DefaultGeodeticDatum.getPrimeMeridian() . |
Unit |
getUnits(int dimension)
Deprecated. Replaced by DefaultCoordinateSystemAxis.getUnit() . |
int |
hashCode()
Deprecated. Returns a hash value for this coordinate system. |
Methods inherited from class org.geotools.cs.CoordinateSystem |
fromGeoAPI, getCoordinateSystem, getDatum, getDefaultEnvelope, getScope, getValidArea |
Methods inherited from class org.geotools.cs.Info |
ensureNonNull, equals, getAbbreviation, getAlias, getAlias, getAuthority, getAuthorityCode, getIdentifiers, getName, getRemarks, toString, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Field Detail |
public static final GeocentricCoordinateSystem DEFAULT
Constructor Detail |
public GeocentricCoordinateSystem(java.lang.CharSequence name, HorizontalDatum datum)
name
- The coordinate system name.datum
- The horizontal datum.public GeocentricCoordinateSystem(java.lang.CharSequence 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(java.lang.CharSequence 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 length 3.Method Detail |
public int getDimension()
getDimension
in interface Dimensioned
getDimension
in class CoordinateSystem
CS_CoordinateSystem.getDimension()
public HorizontalDatum getHorizontalDatum()
AbstractSingleCRS.getDatum()
.
CS_GeocentricCoordinateSystem.getHorizontalDatum()
public Unit getUnits(int dimension)
DefaultCoordinateSystemAxis.getUnit()
.
GeocentricCoordinateSystem
, the
units are the same for all axes.
getUnits
in class CoordinateSystem
dimension
- Zero based index of axis.CS_CoordinateSystem.getUnits(int)
public AxisInfo getAxis(int dimension)
getAxis
in class CoordinateSystem
dimension
- Zero based index of axis.CS_CoordinateSystem.getAxis(int)
public PrimeMeridian getPrimeMeridian()
DefaultGeodeticDatum.getPrimeMeridian()
.
CS_GeocentricCoordinateSystem.getPrimeMeridian()
public boolean equals(Info object, boolean compareNames)
equals
in class Info
object
- The object to compare to this
.compareNames
- true
to comparare the name,
alias, authority
code, etc. as well, or false
to compare only properties
relevant to transformations.
true
if both objects are equal.public int hashCode()
equals
(Info, false)
.
hashCode
in class Info
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |