/// <summary> /// Initializes a new instance of the <see cref="SnowLoad"/> class. /// </summary> /// <param name="buildingSite">Set instance of a class implementing <see cref="IBuildingSite"/> for <see cref="BuildingSite"/>.</param> /// <param name="snowDensity">Set <see cref="SnowDensity"/> in kN/m3.</param> /// <param name="returnPeriod">Set <see cref="ReturnPeriod"/> in years</param> /// <param name="currentDesignSituation">Set <see cref="CurrentDesignSituation"/>.</param> /// <param name="excepctionalSituation">Set <see cref="ExcepctionalSituation"/>.</param> public SnowLoad(IBuildingSite buildingSite, double snowDensity, int returnPeriod, DesignSituation currentDesignSituation = DesignSituation.A, bool excepctionalSituation = false) : this(buildingSite, currentDesignSituation, excepctionalSituation) { SnowDensity = snowDensity; ReturnPeriod = returnPeriod; }
/// <summary> /// Initializes a new instance of the <see cref="SnowLoad"/> class. /// </summary> /// <param name="buildingSite">Set instance of a class implementing <see cref="IBuildingSite"/> for <see cref="BuildingSite"/>.</param> /// <param name="currentDesignSituation">Set <see cref="CurrentDesignSituation"/>.</param> /// <param name="excepctionalSituation">Set <see cref="ExcepctionalSituation"/>.</param> public SnowLoad(IBuildingSite buildingSite, DesignSituation currentDesignSituation = DesignSituation.A, bool excepctionalSituation = false) { BuildingSite = buildingSite; CurrentDesignSituation = currentDesignSituation; ExcepctionalSituation = excepctionalSituation; }
public WindLoadData(IBuildingSite buildingSite, IStructure building, double heightStrip = 1, bool allowCustomReferenceHeight = false, IFactorAt referenceHeightDueToNeighbouringStructures = null) { _buildingSite = buildingSite; _building = building; _heightStrip = heightStrip; _allowCustomReferenceHeight = allowCustomReferenceHeight; _referenceHeightDueToNeighbouringStructures = referenceHeightDueToNeighbouringStructures; SetAirDensity(); SetReferenceHeights(); }
private void SetReferences() { snowLoad = Building.SnowLoad; buildingSite = snowLoad.BuildingSite; }