Esempio n. 1
0
 public static double MassPerArea(this ConstantThickness constantThickness)
 {
     return(constantThickness.IsNull() ? 0 : constantThickness.Thickness *constantThickness.Material.Density);
 }
Esempio n. 2
0
 public static double AverageThickness(this ConstantThickness property)
 {
     return(property.IsNull() ? 0 : property.Thickness);
 }