Module org.apache.lucene.spatial3d
Package org.apache.lucene.spatial3d.geom
Class GeoPolygonFactory.BestShape
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoPolygonFactory.BestShape
-
- Enclosing class:
- GeoPolygonFactory
private static class GeoPolygonFactory.BestShape extends java.lang.Object
Class for tracking the best shape for finding a pole, and whether or not the pole must be inside or outside of the shape.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<GeoPoint>
points
boolean
poleMustBeInside
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoComplexPolygon
createGeoComplexPolygon(PlanetModel planetModel, java.util.List<java.util.List<GeoPoint>> pointsList, GeoPoint testPoint)
-
-
-
Field Detail
-
points
public final java.util.List<GeoPoint> points
-
poleMustBeInside
public boolean poleMustBeInside
-
-
Constructor Detail
-
BestShape
public BestShape(java.util.List<GeoPoint> points, boolean poleMustBeInside)
-
-
Method Detail
-
createGeoComplexPolygon
public GeoComplexPolygon createGeoComplexPolygon(PlanetModel planetModel, java.util.List<java.util.List<GeoPoint>> pointsList, GeoPoint testPoint)
-
-