25 lines
607 B
C#
25 lines
607 B
C#
|
|
using Microsoft.Msagl.Core.Geometry;
|
||
|
|
using Microsoft.Msagl.Core.Geometry.Curves;
|
||
|
|
|
||
|
|
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner
|
||
|
|
{
|
||
|
|
internal class RightObstacleSide : ObstacleSide
|
||
|
|
{
|
||
|
|
Point end;
|
||
|
|
internal RightObstacleSide(PolylinePoint startVertex)
|
||
|
|
: base(startVertex)
|
||
|
|
{
|
||
|
|
this.end = startVertex.PrevOnPolyline.Point;
|
||
|
|
}
|
||
|
|
internal override Point End
|
||
|
|
{
|
||
|
|
get { return end; }
|
||
|
|
}
|
||
|
|
|
||
|
|
internal override PolylinePoint EndVertex
|
||
|
|
{
|
||
|
|
get { return StartVertex.PrevOnPolyline; }
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|