java.lang.Object
org.elasticsearch.geometry.Polygon
- All Implemented Interfaces:
Geometry
Represents a closed polygon on the earth's surface with optional holes
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPolygon
(LinearRing polygon) Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.Polygon
(LinearRing polygon, List<LinearRing> holes) Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes. -
Method Summary
-
Field Details
-
EMPTY
-
-
Constructor Details
-
Polygon
Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes. -
Polygon
Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.
-
-
Method Details
-
type
-
getNumberOfHoles
public int getNumberOfHoles() -
getPolygon
-
getHole
-
visit
-
isEmpty
public boolean isEmpty() -
hasZ
public boolean hasZ() -
toString
-
equals
-
hashCode
public int hashCode()
-