|
|||||||||||
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.TemporalCoordinateSystem
DefaultTemporalCRS
.
A one-dimensional coordinate system suitable for time measurements.
Field Summary |
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 | |
TemporalCoordinateSystem(java.lang.CharSequence name,
java.util.Date epoch)
Deprecated. Creates a temporal coordinate system. |
|
TemporalCoordinateSystem(java.lang.CharSequence name,
TemporalDatum datum,
Unit unit,
java.util.Date epoch,
AxisInfo axis)
Deprecated. Creates a temporal coordinate system from a datum and time units. |
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 temporal dimension within coordinate system. |
int |
getDimension()
Deprecated. Returns the dimension of this coordinate system, which is 1. |
java.util.Date |
getEpoch()
Deprecated. Returns the epoch. |
TemporalDatum |
getTemporalDatum()
Deprecated. Gets the temporal datum, which indicates the measurement method. |
Unit |
getUnits(int dimension)
Deprecated. Gets units for dimension within coordinate system. |
int |
hashCode()
Deprecated. Returns a hash value for this coordinate system. |
java.util.Date |
toDate(double value)
Deprecated. Convert the given value into a Date object.
|
double |
toValue(java.util.Date time)
Deprecated. Convert the given date into a value in this axis unit. |
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 |
Constructor Detail |
public TemporalCoordinateSystem(java.lang.CharSequence name, java.util.Date epoch)
name
- Name to give new object.epoch
- The epoch (i.e. date of origin).public TemporalCoordinateSystem(java.lang.CharSequence name, TemporalDatum datum, Unit unit, java.util.Date epoch, AxisInfo axis)
name
- Name to give new object.datum
- Datum to use for new coordinate system.unit
- Units to use for new coordinate system.epoch
- The epoch (i.e. date of origin).axis
- Axis to use for new coordinate system.Method Detail |
public final int getDimension()
getDimension
in interface Dimensioned
getDimension
in class CoordinateSystem
CS_CoordinateSystem.getDimension()
public TemporalDatum getTemporalDatum()
public java.util.Date getEpoch()
public AxisInfo getAxis(int dimension)
getAxis
in class CoordinateSystem
dimension
- Zero based index of axis.CS_CoordinateSystem.getAxis(int)
public Unit getUnits(int dimension)
getUnits
in class CoordinateSystem
dimension
- Must be 0.CS_CoordinateSystem.getUnits(int)
public java.util.Date toDate(double value)
Date
object.
This method is the converse of toValue(java.util.Date)
.
value
- A value in this axis unit.
public double toValue(java.util.Date time)
toDate(double)
.
time
- The value as a date.
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 |