lib/Ext/util/LineSegment.js
function(point1, point2) {
        var Point = Ext.util.Point;

        this.point1 = Point.from(point1);
        this.point2 = Point.from(point2);
    }
function(point1, point2) {
        var Point = Ext.util.Point;

        this.point1 = Point.from(point1);
        this.point2 = Point.from(point2);
    }
Creates new LineSegment out of two points.
@param {Ext.util.Point} point1
@param {Ext.util.Point} point2