Class Trajectory


  • public class Trajectory
    extends Object
    Author:
    Berkay Aydin, Data Mining Lab, Georgia State University
    • Constructor Detail

      • Trajectory

        public Trajectory()
    • Method Detail

      • getMBR

        public org.locationtech.jts.geom.Envelope getMBR()
      • getSegment

        public Trajectory getSegment​(org.joda.time.DateTime start,
                                     org.joda.time.DateTime end)
      • addTGPair

        public void addTGPair​(long startTime,
                              long endTime,
                              org.locationtech.jts.geom.Geometry geometry)
      • addTGPair

        public void addTGPair​(org.joda.time.DateTime startTime,
                              org.joda.time.DateTime endTime,
                              org.locationtech.jts.geom.Geometry geometry)
      • addTGPair

        public void addTGPair​(TGPair tgp)
      • getStartTime

        public org.joda.time.DateTime getStartTime()
      • getEndTime

        public org.joda.time.DateTime getEndTime()
      • getTimeIntervals

        public SortedSet<org.joda.time.Interval> getTimeIntervals()
      • getTGPairSize

        public int getTGPairSize()
        Retuns the number of TGPairs in the trajectory
        Returns:
      • getVolume

        public double getVolume()