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 voidapply(org.locationtech.jts.geom.CoordinateFilter coordinateFilter)voidapply(org.locationtech.jts.geom.CoordinateSequenceFilter coordinateSequenceFilter)voidapply(org.locationtech.jts.geom.GeometryComponentFilter geometryComponentFilter)voidapply(org.locationtech.jts.geom.GeometryFilter geometryFilter)protected intcompareToSameClass(Object o)protected intcompareToSameClass(Object o, org.locationtech.jts.geom.CoordinateSequenceComparator coordinateSequenceComparator)protected org.locationtech.jts.geom.EnvelopecomputeEnvelopeInternal()protected org.locationtech.jts.geom.GeometrycopyInternal()booleanequals(Object obj)booleanequalsExact(org.locationtech.jts.geom.Geometry geometry, double v)org.locationtech.jts.geom.GeometrygetBoundary()intgetBoundaryDimension()org.locationtech.jts.geom.CoordinategetCoordinate()org.locationtech.jts.geom.Coordinate[]getCoordinates()intgetDimension()StringgetGeometryType()intgetNumPoints()TgetOriginalGeometry()protected intgetTypeCode()StringgetUniqueId()inthashCode()booleanisEmpty()voidnormalize()protected org.locationtech.jts.geom.GeometryreverseInternal()StringtoString()-
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:
hashCodein classorg.locationtech.jts.geom.Geometry
-
getGeometryType
public String getGeometryType()
- Specified by:
getGeometryTypein classorg.locationtech.jts.geom.Geometry
-
getCoordinate
public org.locationtech.jts.geom.Coordinate getCoordinate()
- Specified by:
getCoordinatein classorg.locationtech.jts.geom.Geometry
-
getCoordinates
public org.locationtech.jts.geom.Coordinate[] getCoordinates()
- Specified by:
getCoordinatesin classorg.locationtech.jts.geom.Geometry
-
getNumPoints
public int getNumPoints()
- Specified by:
getNumPointsin classorg.locationtech.jts.geom.Geometry
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin classorg.locationtech.jts.geom.Geometry
-
getDimension
public int getDimension()
- Specified by:
getDimensionin classorg.locationtech.jts.geom.Geometry
-
getBoundary
public org.locationtech.jts.geom.Geometry getBoundary()
- Specified by:
getBoundaryin classorg.locationtech.jts.geom.Geometry
-
getBoundaryDimension
public int getBoundaryDimension()
- Specified by:
getBoundaryDimensionin classorg.locationtech.jts.geom.Geometry
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classorg.locationtech.jts.geom.Geometry
-
toString
public String toString()
- Overrides:
toStringin classorg.locationtech.jts.geom.Geometry
-
reverseInternal
protected org.locationtech.jts.geom.Geometry reverseInternal()
- Specified by:
reverseInternalin classorg.locationtech.jts.geom.Geometry
-
equalsExact
public boolean equalsExact(org.locationtech.jts.geom.Geometry geometry, double v)- Specified by:
equalsExactin classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.CoordinateFilter coordinateFilter)
- Specified by:
applyin classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.CoordinateSequenceFilter coordinateSequenceFilter)
- Specified by:
applyin classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.GeometryFilter geometryFilter)
- Specified by:
applyin classorg.locationtech.jts.geom.Geometry
-
apply
public void apply(org.locationtech.jts.geom.GeometryComponentFilter geometryComponentFilter)
- Specified by:
applyin classorg.locationtech.jts.geom.Geometry
-
copyInternal
protected org.locationtech.jts.geom.Geometry copyInternal()
- Specified by:
copyInternalin classorg.locationtech.jts.geom.Geometry
-
normalize
public void normalize()
- Specified by:
normalizein classorg.locationtech.jts.geom.Geometry
-
computeEnvelopeInternal
protected org.locationtech.jts.geom.Envelope computeEnvelopeInternal()
- Specified by:
computeEnvelopeInternalin classorg.locationtech.jts.geom.Geometry
-
compareToSameClass
protected int compareToSameClass(Object o)
- Specified by:
compareToSameClassin classorg.locationtech.jts.geom.Geometry
-
compareToSameClass
protected int compareToSameClass(Object o, org.locationtech.jts.geom.CoordinateSequenceComparator coordinateSequenceComparator)
- Specified by:
compareToSameClassin classorg.locationtech.jts.geom.Geometry
-
getTypeCode
protected int getTypeCode()
- Specified by:
getTypeCodein classorg.locationtech.jts.geom.Geometry
-
-