Table of Contents

Interface SegmentStringDissolver.ISegmentStringMerger

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

A merging strategy which can be used to update the context data of ISegmentStrings which are merged during the dissolve process.

public interface SegmentStringDissolver.ISegmentStringMerger

Methods

Merge(ISegmentString, ISegmentString, bool)

Updates the context data of a ISegmentString when an identical (up to orientation) one is found during dissolving.

void Merge(ISegmentString mergeTarget, ISegmentString ssToMerge, bool isSameOrientation)

Parameters

mergeTarget ISegmentString

The segment string to update.

ssToMerge ISegmentString

The segment string being dissolved.

isSameOrientation bool

true if the strings are in the same direction, false if they are opposite.