Package edu.gsu.cs.dmlab.util
Class PositionEstimator
- java.lang.Object
-
- edu.gsu.cs.dmlab.util.PositionEstimator
-
public class PositionEstimator extends Object
Estimates the position of points and polygons based upon the differential rotation of the sun.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description PositionEstimator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Coordinate
getPredictedPos(org.locationtech.jts.geom.Coordinate point, double millisecs)
Method estimates the location of a given point using the approximate differential rotation of the sun and the amount of time passed.static org.locationtech.jts.geom.Polygon
getPredictedPos(org.locationtech.jts.geom.Polygon poly, double millisecs)
Method estimates the location of a given polygon using the approximate differential rotation of the sun and the amount of time passed.
-
-
-
Method Detail
-
getPredictedPos
public static org.locationtech.jts.geom.Coordinate getPredictedPos(org.locationtech.jts.geom.Coordinate point, double millisecs)
Method estimates the location of a given point using the approximate differential rotation of the sun and the amount of time passed.- Parameters:
point
- The point to project the location ofmillisecs
- The milliseconds offset from the original time the point was recorded, used to estimate how much the point should have moved.- Returns:
- The estimated location of the point after the elapsed input time
-
getPredictedPos
public static org.locationtech.jts.geom.Polygon getPredictedPos(org.locationtech.jts.geom.Polygon poly, double millisecs)
Method estimates the location of a given polygon using the approximate differential rotation of the sun and the amount of time passed.- Parameters:
poly
- The polygon to project the location ofmillisecs
- The milliseconds offset from the original time the point was recorded, used to estimate how much the point should have moved.- Returns:
- The estimated location of the input polygon after the elapsed input time
-
-