コード例 #1
0
 public BuildingSite(Topographies currentTopography)
 {
     CurrentTopography = currentTopography;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuildingSite"/> class.
 /// </summary>
 /// <param name="currentZone"><see cref="CurrentZone"/> read from proper map.</param>
 /// <param name="currentTopography"><see cref="CurrentTopography"/> based on terrain type.</param>
 /// <param name="altitudeAboveSea"><see cref="AltitudeAboveSea"/> [m].</param>
 /// <seealso cref="BuildingSite.BuildingSite"/>
 /// <seealso cref="BuildingSite.BuildingSite(ZoneEnum, TopographyEnum, double, double)"/>
 public BuildingSite(Zones currentZone, Topographies currentTopography, double altitudeAboveSea)
 {
     CurrentZone       = currentZone;
     CurrentTopography = currentTopography;
     AltitudeAboveSea  = altitudeAboveSea;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuildingSite"/> class.
 /// </summary>
 /// <param name="currentZone"><see cref="CurrentZone"/> read from proper map.</param>
 /// <param name="currentTopography"><see cref="CurrentTopography"/> based on terrain type.</param>
 /// <param name="altitudeAboveSea"><see cref="AltitudeAboveSea"/> [m].</param>
 /// <param name="exposureCoefficient"><see cref="ExposureCoefficient"/>.</param>
 /// <seealso cref="BuildingSite.BuildingSite"/>
 /// <seealso cref="BuildingSite.BuildingSite(ZoneEnum, TopographyEnum, double)"/>
 public BuildingSite(Zones currentZone, Topographies currentTopography,
                     double altitudeAboveSea, double exposureCoefficient) :
     this(currentZone, currentTopography, altitudeAboveSea)
 {
     ExposureCoefficient = exposureCoefficient;
 }