Java Code Examples for com.esri.core.geometry.GeometryEngine#equals()

The following examples show how to use com.esri.core.geometry.GeometryEngine#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: GeoFunctions.java    From Bats with Apache License 2.0 4 votes vote down vote up
/** Returns whether {@code geom1} equals {@code geom2}. */
public static boolean ST_Equals(Geom geom1, Geom geom2)  {
  return GeometryEngine.equals(geom1.g(), geom2.g(), geom1.sr());
}
 
Example 2
Source File: GeoFunctions.java    From Bats with Apache License 2.0 4 votes vote down vote up
/** Returns whether {@code geom1} equals {@code geom2} and their coordinates
 * and component Geometries are listed in the same order. */
public static boolean ST_OrderingEquals(Geom geom1, Geom geom2)  {
  return GeometryEngine.equals(geom1.g(), geom2.g(), geom1.sr());
}
 
Example 3
Source File: GeoFunctions.java    From Quicksql with MIT License 4 votes vote down vote up
/** Returns whether {@code geom1} equals {@code geom2}. */
public static boolean ST_Equals(Geom geom1, Geom geom2)  {
  return GeometryEngine.equals(geom1.g(), geom2.g(), geom1.sr());
}
 
Example 4
Source File: GeoFunctions.java    From Quicksql with MIT License 4 votes vote down vote up
/** Returns whether {@code geom1} equals {@code geom2} and their coordinates
 * and component Geometries are listed in the same order. */
public static boolean ST_OrderingEquals(Geom geom1, Geom geom2)  {
  return GeometryEngine.equals(geom1.g(), geom2.g(), geom1.sr());
}
 
Example 5
Source File: GeoFunctions.java    From calcite with Apache License 2.0 4 votes vote down vote up
/** Returns whether {@code geom1} equals {@code geom2}. */
public static boolean ST_Equals(Geom geom1, Geom geom2)  {
  return GeometryEngine.equals(geom1.g(), geom2.g(), geom1.sr());
}
 
Example 6
Source File: GeoFunctions.java    From calcite with Apache License 2.0 4 votes vote down vote up
/** Returns whether {@code geom1} equals {@code geom2} and their coordinates
 * and component Geometries are listed in the same order. */
public static boolean ST_OrderingEquals(Geom geom1, Geom geom2)  {
  return GeometryEngine.equals(geom1.g(), geom2.g(), geom1.sr());
}