14 lines
400 B
C#
14 lines
400 B
C#
|
|
using Microsoft.Msagl.Core.Geometry;
|
||
|
|
|
||
|
|
namespace Microsoft.Msagl.Routing.Visibility {
|
||
|
|
internal abstract class SegmentBase {
|
||
|
|
abstract internal Point Start { get; }
|
||
|
|
abstract internal Point End { get; }
|
||
|
|
internal Point Direction { get { return End - Start; } }
|
||
|
|
#if DEBUG
|
||
|
|
public override string ToString() {
|
||
|
|
return Start + " " + End;
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
}
|
||
|
|
}
|