Package org.apache.sedona.core.wrapper
Class UniqueGeometry<T>
- java.lang.Object
-
- org.locationtech.jts.geom.Geometry
-
- org.apache.sedona.core.wrapper.UniqueGeometry<T>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable
public class UniqueGeometry<T> extends org.locationtech.jts.geom.Geometry
- See Also:
- Serialized Form
-
-
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 classorg.locationtech.jts.geom.Geometry
-
getGeometryType
public String getGeometryType()
- Specified by:
getGeometryType
in classorg.locationtech.jts.geom.Geometry
-
getCoordinate
public org.locationtech.jts.geom.Coordinate getCoordinate()
- Specified by:
getCoordinate
in classorg.locationtech.jts.geom.Geometry
-
getCoordinates
public org.locationtech.jts.geom.Coordinate[] getCoordinates()
- Specified by:
getCoordinates
in classorg.locationtech.jts.geom.Geometry
-
getNumPoints
public int getNumPoints()
- Specified by:
getNumPoints
in classorg.locationtech.jts.geom.Geometry
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in classorg.locationtech.jts.geom.Geometry
-
getDimension
public int getDimension()
- Specified by:
getDimension
in classorg.locationtech.jts.geom.Geometry
-
getBoundary
public org.locationtech.jts.geom.Geometry getBoundary()
- Specified by:
getBoundary
in classorg.locationtech.jts.geom.Geometry
-
getBoundaryDimension
public int getBoundaryDimension()
- Specified by:
getBoundaryDimension
in classorg.locationtech.jts.geom.Geometry
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classorg.locationtech.jts.geom.Geometry
-
toString
public String toString()
- Overrides:
toString
in classorg.locationtech.jts.geom.Geometry
-
reverseInternal
protected org.locationtech.jts.geom.Geometry reverseInternal()
- Specified by:
reverseInternal
in classorg.locationtech.jts.geom.Geometry
-
equalsExact
public boolean equalsExact(org.locationtech.jts.geom.Geometry geometry, double v)
- Specified by:
equalsExact
in classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.CoordinateFilter coordinateFilter)
- Specified by:
apply
in classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.CoordinateSequenceFilter coordinateSequenceFilter)
- Specified by:
apply
in classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.GeometryFilter geometryFilter)
- Specified by:
apply
in classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.GeometryComponentFilter geometryComponentFilter)
- Specified by:
apply
in classorg.locationtech.jts.geom.Geometry
-
copyInternal
protected org.locationtech.jts.geom.Geometry copyInternal()
- Specified by:
copyInternal
in classorg.locationtech.jts.geom.Geometry
-
normalize
public void normalize()
- Specified by:
normalize
in classorg.locationtech.jts.geom.Geometry
-
computeEnvelopeInternal
protected org.locationtech.jts.geom.Envelope computeEnvelopeInternal()
- Specified by:
computeEnvelopeInternal
in classorg.locationtech.jts.geom.Geometry
-
compareToSameClass
protected int compareToSameClass(Object o)
- Specified by:
compareToSameClass
in classorg.locationtech.jts.geom.Geometry
-
compareToSameClass
protected int compareToSameClass(Object o, org.locationtech.jts.geom.CoordinateSequenceComparator coordinateSequenceComparator)
- Specified by:
compareToSameClass
in classorg.locationtech.jts.geom.Geometry
-
getTypeCode
protected int getTypeCode()
- Specified by:
getTypeCode
in classorg.locationtech.jts.geom.Geometry
-
-