A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://esri.github.io/geometry-api-java/doc/Contains.html below:

Contains

One geometry contains another if the other geometry is a subset of it and their interiors have at least one point in common. Contains is the inverse of Within.

In the following pictures Geometry A is blue, and Geometry B is red.

Example 1: Does Geometry A contain Geometry B?
static boolean geometryContains(Geometry geometryA, Geometry geometryB, SpatialReference sr)
{
  boolean contains = OperatorContains.local().execute(geometryA, geometryB, sr, null);
  return contains;
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4