public class EdgeWithinDistance<T> extends DelegatingVisitor<Edge<T>> implements Filter<Edge<T>>
| Constructor and Description |
|---|
EdgeWithinDistance(Geometry geometry,
double maxDistance) |
EdgeWithinDistance(Geometry geometry,
double maxDistance,
Visitor<Edge<T>> matchVisitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Edge<T> edge)
Check that the object matches the filter, returning true if matched, false
otherwise.
|
static <T> List<Edge<T>> |
edgesWithinDistance(Graph<T> graph,
Geometry geometry,
double maxDistance) |
static <T> List<Edge<T>> |
edgesWithinDistance(Graph<T> graph,
Node<T> node,
double maxDistance) |
static <T> List<Edge<T>> |
edgesWithinDistance(Graph<T> graph,
Point point,
double maxDistance) |
boolean |
visit(Edge<T> edge)
Visit an item of type T, performing some operation on the item.
|
getVisitor, setVisitor, toStringgetComparator, getFilter, setComparator, setFilter, setFilterspublic EdgeWithinDistance(Geometry geometry, double maxDistance)
public static <T> List<Edge<T>> edgesWithinDistance(Graph<T> graph, Geometry geometry, double maxDistance)
public static <T> List<Edge<T>> edgesWithinDistance(Graph<T> graph, Node<T> node, double maxDistance)
public static <T> List<Edge<T>> edgesWithinDistance(Graph<T> graph, Point point, double maxDistance)
public boolean accept(Edge<T> edge)
FilterCopyright © 2015 Revolution Systems Inc.. All rights reserved.