Package org.geotools.api.temporal
Interface Separation
-
- All Known Subinterfaces:
Instant
,Period
,TemporalGeometricPrimitive
- All Known Implementing Classes:
DefaultInstant
,DefaultPeriod
,DefaultTemporalGeometricPrimitive
public interface Separation
Provides operations for calculating temporal length and distance.- Author:
- Stephane Fellah (Image Matters), Alexander Petkov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Duration
distance(TemporalGeometricPrimitive other)
Returns the distance from this temporal geometric primitive to another temporal geometric primitive.Duration
length()
Return the duration of this temporal geometric primitive.
-
-
-
Method Detail
-
distance
Duration distance(TemporalGeometricPrimitive other)
Returns the distance from this temporal geometric primitive to another temporal geometric primitive. This is the absolute value of the difference b/n their temporal positions.
-
length
Duration length()
Return the duration of this temporal geometric primitive.
-
-