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
Modifier and TypeMethodDescriptionReturns the distance from this temporal geometric primitive to another temporal geometric primitive.length()
Return the duration of this temporal geometric primitive.
-
Method Details
-
distance
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.
-