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