Package | Description |
---|---|
org.apache.lucene.geo |
Geospatial Utility Implementations for Lucene Core
|
Modifier and Type | Method and Description |
---|---|
static List<Tessellator.Triangle> |
Tessellator.tessellate(Polygon polygon) |
static List<Tessellator.Triangle> |
Tessellator.tessellate(XYPolygon polygon) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Tessellator.pointInPolygon(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-2021 Apache Software Foundation. All Rights Reserved.