com.vividsolutions.jts.operation.buffer

Class RightmostEdgeFinder


public class RightmostEdgeFinder
extends java.lang.Object

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.6

Constructor Summary

RightmostEdgeFinder(CGAlgorithms cga)
A RightmostEdgeFinder finds the DirectedEdge with the rightmost coordinate.

Method Summary

void
findEdge(List dirEdgeList)
Coordinate
getCoordinate()
DirectedEdge
getEdge()

Constructor Details

RightmostEdgeFinder

public RightmostEdgeFinder(CGAlgorithms cga)
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

findEdge

public void findEdge(List dirEdgeList)

getCoordinate

public Coordinate getCoordinate()

getEdge

public DirectedEdge getEdge()