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, relateTriangleprivate Line2D(Line line)
public static Line2D create(Line... lines)
protected PointValues.Relation componentRelate(double minLat, double maxLat, double minLon, double maxLon)
EdgeTreecomponentRelate in class EdgeTreeprotected PointValues.Relation componentRelateTriangle(double ax, double ay, double bx, double by, double cx, double cy)
EdgeTreecomponentRelateTriangle in class EdgeTreeprivate boolean isPointOnLine(EdgeTree.Edge tree, double x, double y)