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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the distance from this TM_GeometricPrimitive to another TM_GeometricPrimitive, i.e. the absolute value of the difference between their temporal positions.length()
Returns the length of this TM_GeometricPrimitiveMethods inherited from class DefaultTemporalPrimitive
compareTo, relativePosition
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface TemporalOrder
relativePosition
-
Constructor Details
-
DefaultTemporalGeometricPrimitive
public DefaultTemporalGeometricPrimitive()
-
-
Method Details
-
distance
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:
distance
in interfaceSeparation
-
length
Returns the length of this TM_GeometricPrimitive- Specified by:
length
in interfaceSeparation
-