Package org.apache.lucene.spatial3d.geom
Class GeoPolygonFactory.PolygonDescription
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoPolygonFactory.PolygonDescription
-
- Enclosing class:
- GeoPolygonFactory
public static class GeoPolygonFactory.PolygonDescription extends java.lang.Object
Use this class to specify a polygon with associated holes.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<? extends GeoPolygonFactory.PolygonDescription>
holes
The list of holesjava.util.List<? extends GeoPoint>
points
The list of points
-
Constructor Summary
Constructors Constructor Description PolygonDescription(java.util.List<? extends GeoPoint> points)
Instantiate the polygon description.PolygonDescription(java.util.List<? extends GeoPoint> points, java.util.List<? extends GeoPolygonFactory.PolygonDescription> holes)
Instantiate the polygon description.
-
-
-
Field Detail
-
points
public final java.util.List<? extends GeoPoint> points
The list of points
-
holes
public final java.util.List<? extends GeoPolygonFactory.PolygonDescription> holes
The list of holes
-
-
Constructor Detail
-
PolygonDescription
public PolygonDescription(java.util.List<? extends GeoPoint> points)
Instantiate the polygon description.- Parameters:
points
- is the list of points.
-
PolygonDescription
public PolygonDescription(java.util.List<? extends GeoPoint> points, java.util.List<? extends GeoPolygonFactory.PolygonDescription> holes)
Instantiate the polygon description.- Parameters:
points
- is the list of points.holes
- is the list of holes.
-
-