Aetheria/Assets/Scripts/NIH/MSAGL/Routing/Rectilinear/Clump.cs
hyperion51 01a956eef6 MSAGL Support
Added new tech tree layout implementation using Microsoft Automatic Graph Layouts
Added some functionality to the database editor tools
2020-04-14 00:42:04 +01:00

27 lines
874 B
C#

//
// Clump.cs
// MSAGL class for accreting clumps of overlapped obstacles for Rectilinear Edge Routing.
//
// Copyright Microsoft Corporation.
using System.Collections.Generic;
namespace Microsoft.Msagl.Routing.Rectilinear {
/// <summary>
/// This is the list of obstacles in the clump.
/// </summary>
internal class Clump : List<Obstacle> {
internal Clump(IEnumerable<Obstacle> obstacles) {
this.AddRange(obstacles);
}
#if DEBUG && TEST_MSAGL
/// <summary>
/// </summary>
/// <returns></returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)")]
public override string ToString() {
return string.Format("({0}", this.Count);
}
#endif
}
}