Beispiel #1
0
 private bool CompareWeightDescent(Shape3D a, Shape3D b)
 {
     if (a.Weight() < b.Weight())
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #2
0
 private bool CompareMaterialDescent(Shape3D a, Shape3D b)
 {
     if (a.MaterialType < b.MaterialType)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #3
0
 private bool CompareVolumnDescent(Shape3D a, Shape3D b)
 {
     if (a.Volumn() < b.Volumn())
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #4
0
 private bool CompareShapeDescent(Shape3D a, Shape3D b)
 {
     if (a.ShapeType < b.ShapeType)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }