UNPKG

jalhyd

Version:

JaLHyd, a Javascript Library for Hydraulics

24 lines 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ParamsSectionCirc = void 0; const internal_modules_1 = require("../../internal_modules"); const internal_modules_2 = require("../../internal_modules"); const internal_modules_3 = require("../../internal_modules"); class ParamsSectionCirc extends internal_modules_3.ParamsSection { constructor(rD, rY, rKs, rQ, rIf, rYB, nullParams = false) { // set LargeurBerge to default value so that it is not undefined when changing section type super(rY, 2.5, rKs, rQ, rIf, rYB, nullParams); this._D = new internal_modules_1.ParamDefinition(this, "D", internal_modules_2.ParamDomainValue.POS, "m", rD, internal_modules_1.ParamFamily.DIAMETERS, undefined, nullParams); this.addParamDefinition(this._D); // hide params this.LargeurBerge.visible = false; // or else something might get linked to it although it is undefined } /** * Diamètre du cercle */ get D() { return this._D; } } exports.ParamsSectionCirc = ParamsSectionCirc; //# sourceMappingURL=section_circulaire_params.js.map