Class TGPair

    • Constructor Detail

      • TGPair

        public TGPair​(long start,
                      long end,
                      org.locationtech.jts.geom.Geometry geom)
      • TGPair

        public TGPair​(long start,
                      long end,
                      org.locationtech.jts.geom.Geometry geom,
                      String KBarchivID,
                      Boolean interpolated)
      • TGPair

        public TGPair​(long start,
                      long end,
                      org.locationtech.jts.geom.Geometry geom,
                      String KBarchivID)
      • TGPair

        public TGPair​(long stime,
                      org.locationtech.jts.geom.Geometry geom)
      • TGPair

        public TGPair​(org.joda.time.DateTime start,
                      org.joda.time.DateTime end,
                      org.locationtech.jts.geom.Geometry geom)
      • TGPair

        public TGPair​(String startTimestamp,
                      org.locationtech.jts.geom.Geometry geom)
    • Method Detail

      • getEnvelope

        public org.locationtech.jts.geom.Envelope getEnvelope()
      • getVolume

        public double getVolume()
      • getInterpolated

        public boolean getInterpolated()
      • setInterpolated

        public void setInterpolated​(boolean interpolated)
      • stOverlaps

        public boolean stOverlaps​(TGPair tgp)
        Spatiotemporal overlaps method. Checks if the given time geometry pair both temporally and spatially intersects with the parameter tgp.
        Returns:
        True if overlap occurs, False otherwise
      • sOverlaps

        public boolean sOverlaps​(TGPair tgp)
        Spatial-only overlaps method. Checks if the geometries of the objects overlap in space
        Parameters:
        tgp -
        Returns:
      • tOverlaps

        public boolean tOverlaps​(TGPair tgp)
        Temporal-only overlaps method Checks of the intervals of the objects overlap in time
        Parameters:
        tgp -
        Returns:
      • getTInterval

        public org.joda.time.Interval getTInterval()
      • getGeometry

        public org.locationtech.jts.geom.Geometry getGeometry()
      • setGeometry

        public void setGeometry​(org.locationtech.jts.geom.Geometry geom)