Class UniqueGeometry<T>

    • Field Summary

      • Fields inherited from class org.locationtech.jts.geom.Geometry

        envelope, factory, SRID, TYPECODE_GEOMETRYCOLLECTION, TYPECODE_LINEARRING, TYPECODE_LINESTRING, TYPECODE_MULTILINESTRING, TYPECODE_MULTIPOINT, TYPECODE_MULTIPOLYGON, TYPECODE_POINT, TYPECODE_POLYGON, TYPENAME_GEOMETRYCOLLECTION, TYPENAME_LINEARRING, TYPENAME_LINESTRING, TYPENAME_MULTILINESTRING, TYPENAME_MULTIPOINT, TYPENAME_MULTIPOLYGON, TYPENAME_POINT, TYPENAME_POLYGON
    • Constructor Summary

      Constructors 
      Constructor Description
      UniqueGeometry​(T originalGeometry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(org.locationtech.jts.geom.CoordinateFilter coordinateFilter)  
      void apply​(org.locationtech.jts.geom.CoordinateSequenceFilter coordinateSequenceFilter)  
      void apply​(org.locationtech.jts.geom.GeometryComponentFilter geometryComponentFilter)  
      void apply​(org.locationtech.jts.geom.GeometryFilter geometryFilter)  
      protected int compareToSameClass​(Object o)  
      protected int compareToSameClass​(Object o, org.locationtech.jts.geom.CoordinateSequenceComparator coordinateSequenceComparator)  
      protected org.locationtech.jts.geom.Envelope computeEnvelopeInternal()  
      protected org.locationtech.jts.geom.Geometry copyInternal()  
      boolean equals​(Object obj)  
      boolean equalsExact​(org.locationtech.jts.geom.Geometry geometry, double v)  
      org.locationtech.jts.geom.Geometry getBoundary()  
      int getBoundaryDimension()  
      org.locationtech.jts.geom.Coordinate getCoordinate()  
      org.locationtech.jts.geom.Coordinate[] getCoordinates()  
      int getDimension()  
      String getGeometryType()  
      int getNumPoints()  
      T getOriginalGeometry()  
      protected int getTypeCode()  
      String getUniqueId()  
      int hashCode()  
      boolean isEmpty()  
      void normalize()  
      protected org.locationtech.jts.geom.Geometry reverseInternal()  
      String toString()  
      • Methods inherited from class org.locationtech.jts.geom.Geometry

        buffer, buffer, buffer, clone, compare, compareTo, compareTo, contains, convexHull, copy, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equalsExact, equalsNorm, equalsTopo, geometryChanged, geometryChangedAction, getArea, getCentroid, getEnvelope, getEnvelopeInternal, getFactory, getGeometryN, getInteriorPoint, getLength, getNumGeometries, getPrecisionModel, getSRID, getUserData, hasDimension, hasNonEmptyElements, hasNullElements, intersection, intersects, isEquivalentClass, isGeometryCollection, isRectangle, isSimple, isValid, isWithinDistance, norm, overlaps, relate, relate, reverse, setSRID, setUserData, symDifference, toText, touches, union, union, within
    • Constructor Detail

      • UniqueGeometry

        public UniqueGeometry​(T originalGeometry)
    • Method Detail

      • getOriginalGeometry

        public T getOriginalGeometry()
      • getUniqueId

        public String getUniqueId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.locationtech.jts.geom.Geometry
      • getGeometryType

        public String getGeometryType()
        Specified by:
        getGeometryType in class org.locationtech.jts.geom.Geometry
      • getCoordinate

        public org.locationtech.jts.geom.Coordinate getCoordinate()
        Specified by:
        getCoordinate in class org.locationtech.jts.geom.Geometry
      • getCoordinates

        public org.locationtech.jts.geom.Coordinate[] getCoordinates()
        Specified by:
        getCoordinates in class org.locationtech.jts.geom.Geometry
      • getNumPoints

        public int getNumPoints()
        Specified by:
        getNumPoints in class org.locationtech.jts.geom.Geometry
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in class org.locationtech.jts.geom.Geometry
      • getDimension

        public int getDimension()
        Specified by:
        getDimension in class org.locationtech.jts.geom.Geometry
      • getBoundary

        public org.locationtech.jts.geom.Geometry getBoundary()
        Specified by:
        getBoundary in class org.locationtech.jts.geom.Geometry
      • getBoundaryDimension

        public int getBoundaryDimension()
        Specified by:
        getBoundaryDimension in class org.locationtech.jts.geom.Geometry
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class org.locationtech.jts.geom.Geometry
      • toString

        public String toString()
        Overrides:
        toString in class org.locationtech.jts.geom.Geometry
      • reverseInternal

        protected org.locationtech.jts.geom.Geometry reverseInternal()
        Specified by:
        reverseInternal in class org.locationtech.jts.geom.Geometry
      • equalsExact

        public boolean equalsExact​(org.locationtech.jts.geom.Geometry geometry,
                                   double v)
        Specified by:
        equalsExact in class org.locationtech.jts.geom.Geometry
      • apply

        public void apply​(org.locationtech.jts.geom.CoordinateFilter coordinateFilter)
        Specified by:
        apply in class org.locationtech.jts.geom.Geometry
      • apply

        public void apply​(org.locationtech.jts.geom.CoordinateSequenceFilter coordinateSequenceFilter)
        Specified by:
        apply in class org.locationtech.jts.geom.Geometry
      • apply

        public void apply​(org.locationtech.jts.geom.GeometryFilter geometryFilter)
        Specified by:
        apply in class org.locationtech.jts.geom.Geometry
      • apply

        public void apply​(org.locationtech.jts.geom.GeometryComponentFilter geometryComponentFilter)
        Specified by:
        apply in class org.locationtech.jts.geom.Geometry
      • copyInternal

        protected org.locationtech.jts.geom.Geometry copyInternal()
        Specified by:
        copyInternal in class org.locationtech.jts.geom.Geometry
      • normalize

        public void normalize()
        Specified by:
        normalize in class org.locationtech.jts.geom.Geometry
      • computeEnvelopeInternal

        protected org.locationtech.jts.geom.Envelope computeEnvelopeInternal()
        Specified by:
        computeEnvelopeInternal in class org.locationtech.jts.geom.Geometry
      • compareToSameClass

        protected int compareToSameClass​(Object o)
        Specified by:
        compareToSameClass in class org.locationtech.jts.geom.Geometry
      • compareToSameClass

        protected int compareToSameClass​(Object o,
                                         org.locationtech.jts.geom.CoordinateSequenceComparator coordinateSequenceComparator)
        Specified by:
        compareToSameClass in class org.locationtech.jts.geom.Geometry
      • getTypeCode

        protected int getTypeCode()
        Specified by:
        getTypeCode in class org.locationtech.jts.geom.Geometry