define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var DoubleRange = (function () {
function DoubleRange(start, end) {
if (start < end) {
this.mStart = start;
this.mEnd = end;
}
else {
this.mStart = end;
this.mEnd = start;
}
}
Object.defineProperty(DoubleRange.prototype, "start", {
get: function () {
return this.mStart;
},
enumerable: true,
configurable: true
});
Object.defineProperty(DoubleRange.prototype, "end", {
get: function () {
return this.mEnd;
},
enumerable: true,
configurable: true
});
Object.defineProperty(DoubleRange.prototype, "delta", {
get: function () {
return (this.mEnd - this.mStart);
},
enumerable: true,
configurable: true
});
return DoubleRange;
}());
exports.DoubleRange = DoubleRange;
});
|