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

21 lines
721 B
C#
Raw Normal View History

//
// LowReflectionEvent.cs
// MSAGL Obstacle class for reflection events from a LowObstacleSide for Rectilinear Edge Routing.
//
// Copyright Microsoft Corporation.
using Microsoft.Msagl.Core.Geometry;
namespace Microsoft.Msagl.Routing.Rectilinear {
/// <summary>
/// This records an intersection of a lookahead ray with an obstacle edge.
/// </summary>
internal class LowReflectionEvent : BasicReflectionEvent {
internal LowObstacleSide Side { get; private set; }
internal LowReflectionEvent(BasicReflectionEvent previousSite, LowObstacleSide targetSide, Point site)
: base (previousSite, targetSide.Obstacle, site) {
this.Side = targetSide;
}
}
}