18 lines
754 B
C#
18 lines
754 B
C#
|
|
using Microsoft.Msagl.Core.Geometry;
|
||
|
|
|
||
|
|
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
|
||
|
|
abstract internal class SweepEvent {
|
||
|
|
abstract internal Point Site { get; }
|
||
|
|
|
||
|
|
/// <summary/>
|
||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)")]
|
||
|
|
public override string ToString() {
|
||
|
|
string typeString = GetType().ToString();
|
||
|
|
int lastDotLoc = typeString.LastIndexOf('.');
|
||
|
|
if (lastDotLoc >= 0) {
|
||
|
|
typeString = typeString.Substring(lastDotLoc + 1);
|
||
|
|
}
|
||
|
|
return string.Format("{0} {1}", typeString, Site);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|