Aetheria/Assets/Plugins/MSAGL/Routing/Spline/ConeSpanner/LeftIntersectionEvent.cs

33 lines
1 KiB
C#
Raw Normal View History

using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
/// <summary>
/// left here means an intersection of a left cone side with an obstacle edge
/// </summary>
internal class LeftIntersectionEvent : SweepEvent {
internal ConeLeftSide coneLeftSide;
Point intersectionPoint;
PolylinePoint endVertex;
internal PolylinePoint EndVertex {
get { return endVertex; }
}
internal LeftIntersectionEvent(ConeLeftSide coneLeftSide,
Point intersectionPoint,
PolylinePoint endVertex) {
this.coneLeftSide = coneLeftSide;
this.intersectionPoint = intersectionPoint;
this.endVertex = endVertex;
}
internal override Point Site {
get { return intersectionPoint; }
}
public override string ToString() {
return "LeftIntersectionEvent " + intersectionPoint;
}
}
}