Package org.geotools.temporal.object
Class DefaultTemporalGeometricPrimitive
- Object
- 
- DefaultTemporalObject
- 
- DefaultTemporalPrimitive
- 
- DefaultTemporalGeometricPrimitive
 
 
 
- 
- All Implemented Interfaces:
- Comparable<TemporalPrimitive>,- Separation,- TemporalGeometricPrimitive,- TemporalObject,- TemporalOrder,- TemporalPrimitive
 - Direct Known Subclasses:
- DefaultInstant,- DefaultPeriod
 
 public abstract class DefaultTemporalGeometricPrimitive extends DefaultTemporalPrimitive implements TemporalGeometricPrimitive, Separation An abstract class with two subclasses for representing a temporal instant and a temporal period.- Author:
- Mehdi Sidhoum (Geomatys)
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultTemporalGeometricPrimitive()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Durationdistance(TemporalGeometricPrimitive other)Returns the distance from this TM_GeometricPrimitive to another TM_GeometricPrimitive, i.e. the absolute value of the difference between their temporal positions.Durationlength()Returns the length of this TM_GeometricPrimitive- 
Methods inherited from class DefaultTemporalPrimitivecompareTo, relativePosition
 - 
Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface TemporalOrderrelativePosition
 
- 
 
- 
- 
- 
Method Detail- 
distancepublic Duration distance(TemporalGeometricPrimitive other) Returns the distance from this TM_GeometricPrimitive to another TM_GeometricPrimitive, i.e. the absolute value of the difference between their temporal positions.- Specified by:
- distancein interface- Separation
 
 - 
lengthpublic Duration length() Returns the length of this TM_GeometricPrimitive- Specified by:
- lengthin interface- Separation
 
 
- 
 
-