Core.LineSegment.LineSegment C# (CSharp) Method

LineSegment() public method

public LineSegment ( Point start, Point end ) : System
start Point
end Point
return System
        public LineSegment(Point start, Point end)
        {
            Start = start;
            End = end;
            Length = Math.Sqrt(Math.Pow(start.X - end.X, 2) + Math.Pow(start.Y - end.Y, 2));
        }