|
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.TemporalCoordinateSystem
public class TemporalCoordinateSystem
A one-dimensional coordinate system suitable for time measurements.
Field Summary |
---|
Fields inherited from class org.deegree.model.csct.cs.Info |
---|
pool |
Constructor Summary | |
---|---|
TemporalCoordinateSystem(Map properties,
TemporalDatum datum,
Unit unit,
Date epoch,
AxisInfo axis)
Creates a temporal coordinate system from a datum and time units. |
|
TemporalCoordinateSystem(String name,
Date epoch)
Creates a temporal coordinate system. |
|
TemporalCoordinateSystem(String name,
TemporalDatum datum,
Unit unit,
Date epoch,
AxisInfo axis)
Creates a temporal coordinate system from a datum and time units. |
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 temporal dimension within coordinate system. |
(package private) Datum |
getDatum()
Override CoordinateSystem.getDatum() . |
int |
getDimension()
Returns the dimension of this coordinate system, which is 1. |
Date |
getEpoch()
Returns the epoch. |
TemporalDatum |
getTemporalDatum()
Gets the temporal datum, which indicates the measurement method. |
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 |
Constructor Detail |
---|
public TemporalCoordinateSystem(String name, Date epoch)
name
- Name to give new object.epoch
- The epoch (i.e. date of origin).public TemporalCoordinateSystem(String name, TemporalDatum datum, Unit unit, 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.TemporalCoordinateSystem(Map properties, TemporalDatum datum, Unit unit, Date epoch, AxisInfo axis)
properties
- The set of properties (see Info
).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
final Datum getDatum()
CoordinateSystem.getDatum()
.
getDatum
in class CoordinateSystem
public TemporalDatum getTemporalDatum()
public Date getEpoch()
public AxisInfo getAxis(int dimension)
getAxis
in class CoordinateSystem
dimension
- Zero based index of axis.
public Unit getUnits(int dimension)
getUnits
in class CoordinateSystem
dimension
- Must be 0.
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 CoordinateSystem
cs
- The coordinate system (may be null
).
true
if both coordinate systems are equivalent.String addString(StringBuffer 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