Aetheria/Assets/Plugins/MSAGL/Routing/Rectilinear/BasicVertexEvent.cs

19 lines
628 B
C#
Raw Normal View History

//
// BasicVertexEvent.cs
// MSAGL Base class for vertex events for Rectilinear Edge Routing.
//
// Copyright Microsoft Corporation.
using Microsoft.Msagl.Core.Geometry.Curves;
using Microsoft.Msagl.Routing.Spline.ConeSpanner;
namespace Microsoft.Msagl.Routing.Rectilinear {
internal abstract class BasicVertexEvent : VertexEvent {
// This is just a subclass to carry the Obstacle object in addition to the Polyline.
internal Obstacle Obstacle { get; private set; }
internal BasicVertexEvent(Obstacle obstacle, PolylinePoint p) : base (p) {
this.Obstacle = obstacle;
}
}
}