Changeset 9440 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Shapes/RectangularPackingShape.cs
- Timestamp:
- 05/04/13 17:51:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Shapes/RectangularPackingShape.cs
r9348 r9440 142 142 x1 = myPosition.X; 143 143 y1 = myPosition.Y; 144 x2 = myPosition.X + myShape.Width;145 y2 = myPosition.Y + myShape.Height;144 x2 = myPosition.X + (myPosition.Rotated ? myShape.Height : myShape.Width); 145 y2 = myPosition.Y + (myPosition.Rotated ? myShape.Width : myShape.Height); 146 146 } 147 147 }
Note: See TracChangeset
for help on using the changeset viewer.