MCPcopy Create free account
hub / github.com/JOSM/josm / split

Method split

src/org/openstreetmap/josm/command/SplitWayCommand.java:905–908  ·  view source on GitHub ↗

Splits the way way at the nodes in atNodes and replies the result of this process in an instance of SplitWayCommand. Note that changes are not applied to the data yet. You have to submit the command first, i.e. UndoRedoHandler.getInstance().add(result). Replie

(Way way, List<Node> atNodes, Collection<? extends OsmPrimitive> selection)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

assertEqualsNewlineMethod · 0.45
getNameMethod · 0.45
testGetJoinedValuesMethod · 0.45
tokenRequestMethod · 0.45
testSampleFileMethod · 0.45
readLineMethod · 0.45
mainMethod · 0.45
readDataMethod · 0.45
addImageErrorMethod · 0.45

Calls 2

buildSplitChunksMethod · 0.95
splitWayMethod · 0.95

Tested by 15

assertEqualsNewlineMethod · 0.36
getNameMethod · 0.36
testGetJoinedValuesMethod · 0.36
tokenRequestMethod · 0.36
testSampleFileMethod · 0.36
readLineMethod · 0.36
mainMethod · 0.36
readDataMethod · 0.36
addImageErrorMethod · 0.36