igniteui-react-core
Version:
Ignite UI React Core.
28 lines (27 loc) • 1.31 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { Base, IEqualityComparer$1_$type, markType } from "./type";
import { HalfEdge } from "./HalfEdge";
/**
* @hidden
*/
var EdgeComparer = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(EdgeComparer, _super);
function EdgeComparer() {
return _super !== null && _super.apply(this, arguments) || this;
}
EdgeComparer.prototype.equalsC = function (a, b) {
return (a.a == b.a && a.b == b.b) || (a.a == b.b && a.b == b.a);
};
EdgeComparer.prototype.getHashCodeC = function (a) {
return 65536 * Math.max(a.a, a.b) + Math.min(a.a, a.b);
};
EdgeComparer.$t = markType(EdgeComparer, 'EdgeComparer', Base.$, [IEqualityComparer$1_$type.specialize(HalfEdge.$)]);
return EdgeComparer;
}(Base));
export { EdgeComparer };