Package | Description |
---|---|
org.apache.lucene.geo |
Geospatial Utility Implementations for Lucene Core
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Tessellator.Triangle> |
Tessellator.tessellate(Polygon polygon)
Produces an array of vertices representing the triangulated result set of the Points array
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Tessellator.pointInPolygon(java.util.List<Tessellator.Triangle> tessellation,
double lat,
double lon)
Brute force compute if a point is in the polygon by traversing entire triangulation
todo: speed this up using either binary tree or prefix coding (filtering by bounding box of triangle)
|
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.