Interface SegmentStringDissolver.SegmentStringMerger
- Enclosing class:
SegmentStringDissolver
public static interface SegmentStringDissolver.SegmentStringMerger
A merging strategy which can be used to update the context data of
SegmentStrings
which are merged during the dissolve process.- Version:
- 1.7
- Author:
- mbdavis
-
Method Summary
Modifier and TypeMethodDescriptionvoidmerge(SegmentString mergeTarget, SegmentString ssToMerge, boolean isSameOrientation) Updates the context data of a SegmentString when an identical (up to orientation) one is found during dissolving.
-
Method Details
-
merge
Updates the context data of a SegmentString when an identical (up to orientation) one is found during dissolving.- Parameters:
mergeTarget- the segment string to updatessToMerge- the segment string being dissolvedisSameOrientation-trueif the strings are in the same direction,falseif they are opposite
-