/** * Gets an array of tri nabors of the specified edge. * @param edge the edge for which to get nabors. * @return the array of nabors. */ public synchronized Tri[] getTriNabors(Edge edge) { TriList nabors = new TriList(); getTriNabors(edge,nabors); return nabors.trim(); }
/** * Gets an array of tri nabors of the specified node. * @param node the node for which to get nabors. * @return the array of nabors. */ public synchronized Tri[] getTriNabors(Node node) { TriList nabors = new TriList(); getTriNabors(node,nabors); return nabors.trim(); }