public void visit(Node n) { if (n.isNewOrUndeleted() || n.isModified() || n.isDeleted()) { // upload new nodes as well as modified and deleted ones hull.add(n); } }
/** * Constructs a new {@code OldNodeState} for the given node. * * @param node The node whose state has to be remembered */ public OldNodeState(Node node) { latlon = node.getCoor(); eastNorth = node.getEastNorth(); modified = node.isModified(); }