Uses of Class
org.apache.lucene.geo.Tessellator.Triangle
-
Uses of Tessellator.Triangle in org.apache.lucene.geo
Modifier and TypeMethodDescriptionstatic List<Tessellator.Triangle>
Tessellator.tessellate
(Polygon polygon, boolean checkSelfIntersections) static List<Tessellator.Triangle>
Tessellator.tessellate
(XYPolygon polygon, boolean checkSelfIntersections) Modifier and TypeMethodDescriptionstatic final 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)