Changeset 14045 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/CuboidPackingShape.cs
- Timestamp:
- 07/12/16 18:23:13 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/CuboidPackingShape.cs
r14043 r14045 32 32 [Item("CuboidPackingShape", "Represents the cuboid measures (width, height, depth) of a three-dimensional cuboidic bin-packing object.")] 33 33 [StorableClass] 34 public abstractclass CuboidPackingShape : PackingShape<ThreeDimensionalPacking>, IComparable<CuboidPackingShape> {34 public class CuboidPackingShape : PackingShape<ThreeDimensionalPacking>, IComparable<CuboidPackingShape> { 35 35 public IFixedValueParameter<IntValue> HeightParameter { 36 36 get { return (IFixedValueParameter<IntValue>)Parameters["Height"]; } … … 64 64 RegisterEvents(); 65 65 } 66 p rotectedCuboidPackingShape()66 public CuboidPackingShape() 67 67 : base() { 68 68 Parameters.Add(new FixedValueParameter<IntValue>("Width")); … … 73 73 } 74 74 75 p rotectedCuboidPackingShape(int width, int height, int depth)75 public CuboidPackingShape(int width, int height, int depth) 76 76 : this() { 77 77 this.Width = width; 78 78 this.Height = height; 79 79 this.Depth = depth; 80 } 81 82 public override IDeepCloneable Clone(Cloner cloner) { 83 return new CuboidPackingShape(this, cloner); 80 84 } 81 85
Note: See TracChangeset
for help on using the changeset viewer.