Interface ISpatialTemporalObj
-
- All Superinterfaces:
IBaseTemporalObject
- All Known Subinterfaces:
ISTInterpolationEvent
,ISTTrackingEvent
- All Known Implementing Classes:
GeneralSTInterpolationEvent
,GeneralSTObject
,GeneralSTTrackingEvent
public interface ISpatialTemporalObj extends IBaseTemporalObject
Is the base interface for a number of spatio-temporal objects. It provides the minimum definitions need for an object of spatio-temporal 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.Point
getCentroid()
Computes the centroid of the envelope of this Geometry.org.locationtech.jts.geom.Envelope
getEnvelope()
Gets a Geometry representing the envelope (bounding box) of this Geometry.org.locationtech.jts.geom.Geometry
getGeometry()
Gets the Geometry of this object, which is a representation of a planar, linear vector geometry.double
getVolume()
Gets the area of this Geometry multiplied by the duration of this object.-
Methods inherited from interface edu.gsu.cs.dmlab.datatypes.interfaces.IBaseTemporalObject
compareTime, getTimePeriod, getUUID
-
-
-
-
Method Detail
-
getCentroid
org.locationtech.jts.geom.Point getCentroid()
Computes the centroid of the envelope of this Geometry.- Returns:
- The centroid of the envelope of this Geometry.
-
getEnvelope
org.locationtech.jts.geom.Envelope getEnvelope()
Gets a Geometry representing the envelope (bounding box) of this Geometry.- Returns:
- a Geometry representing the envelope of this Geometry
-
getGeometry
org.locationtech.jts.geom.Geometry getGeometry()
Gets the Geometry of this object, which is a representation of a planar, linear vector geometry.- Returns:
- the Geometry of this object.
-
getVolume
double getVolume()
Gets the area of this Geometry multiplied by the duration of this object. Areal Geometries have a non-zero area.- Returns:
- The computed volume of this spatio-temporal object.
-
-