Class RightmostEdgeFinder
- java.lang.Object
-
- org.locationtech.jts.operation.buffer.RightmostEdgeFinder
-
class RightmostEdgeFinder extends java.lang.ObjectA RightmostEdgeFinder find the DirectedEdge in a list which has the highest coordinate, and which is oriented L to R at that point. (I.e. the right side is on the RHS of the edge.)- Version:
- 1.7
-
-
Field Summary
Fields Modifier and Type Field Description private CoordinateminCoordprivate DirectedEdgeminDeprivate intminIndexprivate DirectedEdgeorientedDe
-
Constructor Summary
Constructors Constructor Description RightmostEdgeFinder()A RightmostEdgeFinder finds the DirectedEdge with the rightmost coordinate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcheckForRightmostCoordinate(DirectedEdge de)voidfindEdge(java.util.List dirEdgeList)private voidfindRightmostEdgeAtNode()private voidfindRightmostEdgeAtVertex()CoordinategetCoordinate()DirectedEdgegetEdge()private intgetRightmostSide(DirectedEdge de, int index)private intgetRightmostSideOfSegment(DirectedEdge de, int i)
-
-
-
Field Detail
-
minIndex
private int minIndex
-
minCoord
private Coordinate minCoord
-
minDe
private DirectedEdge minDe
-
orientedDe
private DirectedEdge orientedDe
-
-
Method Detail
-
getEdge
public DirectedEdge getEdge()
-
getCoordinate
public Coordinate getCoordinate()
-
findEdge
public void findEdge(java.util.List dirEdgeList)
-
findRightmostEdgeAtNode
private void findRightmostEdgeAtNode()
-
findRightmostEdgeAtVertex
private void findRightmostEdgeAtVertex()
-
checkForRightmostCoordinate
private void checkForRightmostCoordinate(DirectedEdge de)
-
getRightmostSide
private int getRightmostSide(DirectedEdge de, int index)
-
getRightmostSideOfSegment
private int getRightmostSideOfSegment(DirectedEdge de, int i)
-
-