-
Notifications
You must be signed in to change notification settings - Fork 310
/
INoder.cs
30 lines (26 loc) · 1.18 KB
/
INoder.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System.Collections.Generic;
namespace NetTopologySuite.Noding
{
/// <summary>
/// Computes all intersections between segments in a set of <see cref="ISegmentString" />s.
/// Intersections found are represented as <see cref="SegmentNode" />s and added to the
/// <see cref="ISegmentString" />s in which they occur.
/// As a final step in the noding a new set of segment strings split at the nodes may be returned.
/// </summary>
public interface INoder
{
/// <summary>
/// Computes the noding for a collection of <see cref="ISegmentString" />s.
/// Some Noders may add all these nodes to the input <see cref="ISegmentString" />s;
/// others may only add some or none at all.
/// </summary>
/// <param name="segStrings"></param>
void ComputeNodes(IList<ISegmentString> segStrings);
/// <summary>
/// Returns a <see cref="IList{ISegmentString}" /> of fully noded <see cref="ISegmentString" />s.
/// The <see cref="ISegmentString" />s have the same context as their parent.
/// </summary>
/// <returns></returns>
IList<ISegmentString> GetNodedSubstrings();
}
}