@Override public void flyToShape(String id) throws NoSuchShapeException { if (!shapesById.containsKey(id)) { throw new NoSuchShapeException(String.format("No such shape: %s", id)); } WWindUtils.flyToObjects(wwd, Arrays.asList(shapesById.get(id))); }
@Override public void flyToHiglhlightShape(String id) throws NoSuchShapeException { if (!shapesById.containsKey(id)) { throw new NoSuchShapeException(String.format("No such shape: %s", id)); } final SurfaceShape shape = shapesById.get(id); WWindUtils.flyToObjects(wwd, Arrays.asList(shape)); internalHighlight(shape, true); }