EdgeTree.Edge
Modifier and Type | Method and Description |
---|---|
protected PointValues.Relation |
componentRelate(double minLat,
double maxLat,
double minLon,
double maxLon)
Returns relation to the provided rectangle for this component
|
protected PointValues.Relation |
componentRelateTriangle(double ax,
double ay,
double bx,
double by,
double cx,
double cy)
Returns relation to the provided triangle for this component
|
static Line2D |
create(Line... lines)
create a Line2D edge tree from provided array of Linestrings
|
private boolean |
isPointOnLine(EdgeTree.Edge tree,
double x,
double y)
returns true if the provided x, y point lies on the line
|
createTree, internalComponentRelate, pointInTriangle, relate, relateTriangle
private Line2D(Line line)
public static Line2D create(Line... lines)
protected PointValues.Relation componentRelate(double minLat, double maxLat, double minLon, double maxLon)
EdgeTree
componentRelate
in class EdgeTree
protected PointValues.Relation componentRelateTriangle(double ax, double ay, double bx, double by, double cx, double cy)
EdgeTree
componentRelateTriangle
in class EdgeTree
private boolean isPointOnLine(EdgeTree.Edge tree, double x, double y)