Module org.apache.lucene.spatial3d
Package org.apache.lucene.spatial3d.geom
Class GeoPolygonFactory.SafePath
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoPolygonFactory.SafePath
-
- Enclosing class:
- GeoPolygonFactory
private static class GeoPolygonFactory.SafePath extends java.lang.Object
An instance of this class represents a known-good path of nodes that contains no coplanar points , no matter how assessed. It's used in the depth-first search that must be executed to find a valid complete polygon without coplanarities.
-
-
Field Summary
Fields Modifier and Type Field Description GeoPoint
lastPoint
GeoPolygonFactory.SafePath
previous
-
Constructor Summary
Constructors Constructor Description SafePath(GeoPolygonFactory.SafePath previous, GeoPoint lastPoint, int lastPointIndex, Plane lastPlane)
Create a new safe end point.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillInList(java.util.List<GeoPoint> pointList)
Fill in a list, in order, of safe points.
-
-
-
Field Detail
-
lastPoint
public final GeoPoint lastPoint
-
previous
public final GeoPolygonFactory.SafePath previous
-
-
Constructor Detail
-
SafePath
public SafePath(GeoPolygonFactory.SafePath previous, GeoPoint lastPoint, int lastPointIndex, Plane lastPlane)
Create a new safe end point.
-
-
Method Detail
-
fillInList
public void fillInList(java.util.List<GeoPoint> pointList)
Fill in a list, in order, of safe points.
-
-