Package edu.gsu.cs.dmlab.util
Class TrapezoidPositionPredictor
- java.lang.Object
-
- edu.gsu.cs.dmlab.util.TrapezoidPositionPredictor
-
- All Implemented Interfaces:
ISTSearchAreaProducer
public class TrapezoidPositionPredictor extends Object implements ISTSearchAreaProducer
Predicts the position of points and polygons based upon the differential rotation of the sun, or a given normalized movement vector. Similarly, this file also produces a search based upon the polygon representation or the mbr of an object. The search are is a trapezoid that starts as the size of the mbr at the left and opens up to the right.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University Michael Tinglof, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description TrapezoidPositionPredictor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.Geometry
getSearchRegion(org.locationtech.jts.geom.Envelope bBox, double span)
Create a search region based upon the input rectangle and the passed time.org.locationtech.jts.geom.Geometry
getSearchRegion(org.locationtech.jts.geom.Envelope bBox, float[] movementVect, double span)
Create a search region based upon the input rectangle, previous movement vector, and the passed time.org.locationtech.jts.geom.Geometry
getSearchRegionBack(org.locationtech.jts.geom.Envelope bBox, double span)
Create a search region based upon the input rectangle and the elapsed time.
-
-
-
Method Detail
-
getSearchRegion
public org.locationtech.jts.geom.Geometry getSearchRegion(org.locationtech.jts.geom.Envelope bBox, double span)
Description copied from interface:ISTSearchAreaProducer
Create a search region based upon the input rectangle and the passed time.- Specified by:
getSearchRegion
in interfaceISTSearchAreaProducer
- Parameters:
bBox
- The input region.span
- The elapsed time in days.- Returns:
- A search are based on the input.
-
getSearchRegion
public org.locationtech.jts.geom.Geometry getSearchRegion(org.locationtech.jts.geom.Envelope bBox, float[] movementVect, double span)
Description copied from interface:ISTSearchAreaProducer
Create a search region based upon the input rectangle, previous movement vector, and the passed time.- Specified by:
getSearchRegion
in interfaceISTSearchAreaProducer
- Parameters:
bBox
- The input region.movementVect
- The previous movement vector.span
- The elapsed time in days.- Returns:
- A search region.
-
getSearchRegionBack
public org.locationtech.jts.geom.Geometry getSearchRegionBack(org.locationtech.jts.geom.Envelope bBox, double span)
Description copied from interface:ISTSearchAreaProducer
Create a search region based upon the input rectangle and the elapsed time. However, it is in the opposite direction (back in time).- Specified by:
getSearchRegionBack
in interfaceISTSearchAreaProducer
- Parameters:
bBox
- The input region.span
- The elapsed time in days to look back.- Returns:
- A search region.
-
-