AForge.Math.Geometry.LineSegment.LineSegment C# (CSharp) Method

LineSegment() public method

Initializes a new instance of the LineSegment class.
Thrown if the two points are the same.
public LineSegment ( DoublePoint start, DoublePoint end ) : System
start DoublePoint Segment's start point.
end DoublePoint Segment's end point.
return System
        public LineSegment( DoublePoint start, DoublePoint end )
        {
            line = Line.FromPoints( start, end );
            this.start = start;
            this.end = end;
        }