コード例 #1
0
 private static MacroStabilityInwardsSoilProfileUnderSurfaceLine Create(MacroStabilityInwardsSoilProfile2D soilProfile)
 {
     return(new MacroStabilityInwardsSoilProfileUnderSurfaceLine(soilProfile.Layers, soilProfile.PreconsolidationStresses));
 }
コード例 #2
0
 private bool Equals(MacroStabilityInwardsSoilProfile2D other)
 {
     return(layers.SequenceEqual(other.layers) &&
            PreconsolidationStresses.SequenceEqual(other.PreconsolidationStresses) &&
            string.Equals(Name, other.Name));
 }