Interface ISpatialTemporalTrajectory<T>
-
- All Superinterfaces:
IBaseTemporalObject
- All Known Subinterfaces:
ISTInterpolationTrajectory
,ISTTrackingTrajectory
- All Known Implementing Classes:
GeneralSTInterpolationTrajectory
,GeneralSTTrackingTrajectory
public interface ISpatialTemporalTrajectory<T> extends IBaseTemporalObject
Is the base interface for a number of spatio-temporal trajectory objects. It provides the minimum definitions need for an object of spatio-temporal trajectory type in this library.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Field Summary
-
Fields inherited from interface edu.gsu.cs.dmlab.datatypes.interfaces.IBaseTemporalObject
baseTemporalComparator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.locationtech.jts.geom.Envelope
getMBR()
SortedSet<T>
getSTObjects()
Produces a sorted set of all the spatiotemporal objects contained in this trajectory.double
getVolume()
Computes the volume of this trajectory by using the volume of each of the spatiotemporal objects it contains.int
size()
Gets the number of spatiotemporal objects contained in this trajectory.-
Methods inherited from interface edu.gsu.cs.dmlab.datatypes.interfaces.IBaseTemporalObject
compareTime, getTimePeriod, getUUID
-
-
-
-
Method Detail
-
getSTObjects
SortedSet<T> getSTObjects()
Produces a sorted set of all the spatiotemporal objects contained in this trajectory. The objects are ordered by their start time.- Returns:
- A sorted set of all the spatiotemporal objects in this trajectory.
-
getMBR
org.locationtech.jts.geom.Envelope getMBR()
- Returns:
-
size
int size()
Gets the number of spatiotemporal objects contained in this trajectory.- Returns:
- The number of spatiotemporal objects in this trajectory.
-
getVolume
double getVolume()
Computes the volume of this trajectory by using the volume of each of the spatiotemporal objects it contains.- Returns:
- The volume of the trajectory.
-
-