Changeset 14043 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/CuboidPackingShape.cs
- Timestamp:
- 07/12/16 18:02:28 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/CuboidPackingShape.cs
r13608 r14043 32 32 [Item("CuboidPackingShape", "Represents the cuboid measures (width, height, depth) of a three-dimensional cuboidic bin-packing object.")] 33 33 [StorableClass] 34 public abstract class CuboidPackingShape : PackingShape<ThreeDimensionalPacking>, I RegularPackingShape, IComparable<CuboidPackingShape> {34 public abstract class CuboidPackingShape : PackingShape<ThreeDimensionalPacking>, IComparable<CuboidPackingShape> { 35 35 public IFixedValueParameter<IntValue> HeightParameter { 36 36 get { return (IFixedValueParameter<IntValue>)Parameters["Height"]; } … … 110 110 } 111 111 112 public int CompareTo(object obj) {112 public override int CompareTo(object obj) { 113 113 var other = (CuboidPackingShape)obj; 114 114 if (other != null) return CompareTo(other); … … 179 179 } 180 180 181 public void ApplyHorizontalOrientation() {181 public override void ApplyHorizontalOrientation() { 182 182 if (Width > Depth) { 183 183 var aux = Width;
Note: See TracChangeset
for help on using the changeset viewer.