private bool CompareWeightDescent(Shape3D a, Shape3D b) { if (a.Weight() < b.Weight()) { return(true); } else { return(false); } }
private bool CompareMaterialDescent(Shape3D a, Shape3D b) { if (a.MaterialType < b.MaterialType) { return(true); } else { return(false); } }
private bool CompareVolumnDescent(Shape3D a, Shape3D b) { if (a.Volumn() < b.Volumn()) { return(true); } else { return(false); } }
private bool CompareShapeDescent(Shape3D a, Shape3D b) { if (a.ShapeType < b.ShapeType) { return(true); } else { return(false); } }