/** * Returns the {@link Node} at the given location, * or null if no {@link Node} was there. * * @param pt the location to query * @return the node found * or <code>null</code> if this graph contains no node at the location */ public Node findNode(Coordinate pt) { return (Node) nodeMap.find(pt); }
/** * Returns the {@link Node} at the given location, * or null if no {@link Node} was there. * * @param pt the location to query * @return the node found * or <code>null</code> if this graph contains no node at the location */ public Node findNode(Coordinate pt) { return (Node) nodeMap.find(pt); }