/** * Gets an array of face nabors of the specified edge. * The edge is directed, and the faces are stored in CCW order, as * viewed from a point towards which the edge is directed. Only those * faces aligned with the edge are stored. Specifically, their mates * are not stored. * @param edge the edge for which to get nabors. * @return the array of nabors. */ public synchronized Face[] getFaceNabors(Edge edge) { FaceList nabors = new FaceList(); getFaceNabors(edge,nabors); return nabors.trim(); }
nabors.add(face);