Available Methods
- getCoordinates ( )
- getNumGeometries ( )
- getEnvelopeInternal ( )
- getGeometryN ( )
- getCoordinate ( )
- getGeometryType ( )
- isEmpty ( )
- intersection ( )
- setSRID ( )
- getCentroid ( )
- toText ( )
- getArea ( )
- getSRID ( )
- distance ( )
- intersects ( )
- covers ( )
- getUserData ( )
- buffer ( )
- equals ( )
- setUserData ( )
- getLength ( )
- union ( )
- within ( )
Related Classes
- java.util.Arrays
- java.io.File
- java.util.Collections
- java.util.Date
- java.util.Iterator
- java.net.URL
- org.junit.Assert
- java.awt.Color
- org.junit.jupiter.api.Test
- java.awt.geom.Point2D
- java.awt.image.WritableRaster
- org.apache.spark.api.java.JavaPairRDD
- org.locationtech.jts.geom.Coordinate
- org.locationtech.jts.geom.GeometryFactory
- org.locationtech.jts.geom.Polygon
- org.locationtech.jts.geom.Point
- org.opengis.referencing.FactoryException
- org.locationtech.jts.geom.LineString
- org.geotools.referencing.CRS
- org.locationtech.jts.io.ParseException
- org.locationtech.jts.io.WKTReader
- org.locationtech.jts.geom.MultiPolygon
- org.opengis.feature.simple.SimpleFeature
- org.opengis.referencing.crs.CoordinateReferenceSystem
- org.opengis.feature.simple.SimpleFeatureType
Java Code Examples for org.locationtech.jts.geom.Geometry#equals()
The following examples show how to use
org.locationtech.jts.geom.Geometry#equals() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Shape.java From MeteoInfo with GNU Lesser General Public License v3.0 | 4 votes |
/** * If this shape equals another one * @param other Other shape * @return Equals or not */ public boolean equals(Shape other){ Geometry g1 = this.toGeometry(); Geometry g2 = other.toGeometry(); return g1.equals(g2); }
Example 2
Source File: GeomEquals.java From geowave with Apache License 2.0 | 4 votes |
@Override public boolean apply(final Geometry geom1, final Geometry geom2) { return geom1.equals(geom2); }