Java org.apache.lucene.geo Polygon fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.geo Polygon fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.geo Polygon.

The text is from its open source code.

Constructor

Polygon(double[] polyLats, double[] polyLons, Polygon... holes)
Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.

Method

Polygon[]getHoles()
Returns a copy of the internal holes array
double[]getPolyLats()
Returns a copy of the internal latitude array
double[]getPolyLons()
Returns a copy of the internal longitude array