UNPKG

molstar

Version:

A comprehensive macromolecular library.

26 lines 886 B
"use strict"; /** * Copyright (c) 2019 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> * @author Sebastian Bittrich <sebastian.bittrich@rcsb.org> */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Bridge = exports.DSSPType = void 0; var mol_util_1 = require("../../../../mol-util"); var DSSPType; (function (DSSPType) { DSSPType.is = mol_util_1.BitFlags.has; DSSPType.create = mol_util_1.BitFlags.create; })(DSSPType || (DSSPType = {})); exports.DSSPType = DSSPType; var Bridge = /** @class */ (function () { function Bridge(p1, p2, type) { this.partner1 = Math.min(p1, p2); this.partner2 = Math.max(p1, p2); this.type = type; } return Bridge; }()); exports.Bridge = Bridge; //# sourceMappingURL=common.js.map