Class RightmostEdgeFinder
java.lang.Object
org.locationtech.jts.operation.buffer.RightmostEdgeFinder
A 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
FieldsModifier and TypeFieldDescriptionprivate Coordinate
private DirectedEdge
private int
private DirectedEdge
-
Constructor Summary
ConstructorsConstructorDescriptionA RightmostEdgeFinder finds the DirectedEdge with the rightmost coordinate. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
private void
private void
getEdge()
private int
getRightmostSide
(DirectedEdge de, int index) private int
getRightmostSideOfSegment
(DirectedEdge de, int i)
-
Field Details
-
minIndex
private int minIndex -
minCoord
-
minDe
-
orientedDe
-
-
Constructor Details
-
RightmostEdgeFinder
public RightmostEdgeFinder()A RightmostEdgeFinder finds the DirectedEdge with the rightmost coordinate. The DirectedEdge returned is guaranteed to have the R of the world on its RHS.
-
-
Method Details
-
getEdge
-
getCoordinate
-
findEdge
-
findRightmostEdgeAtNode
private void findRightmostEdgeAtNode() -
findRightmostEdgeAtVertex
private void findRightmostEdgeAtVertex() -
checkForRightmostCoordinate
-
getRightmostSide
-
getRightmostSideOfSegment
-