refactor: rename Size.Height to Size.Length across codebase
"Length" is more natural than "height" for flat plate materials. Renames the field on OpenNest.Geometry.Size, Box.Height property, and all references across 38 files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@ namespace OpenNest.RectanglePacking
|
||||
|
||||
public void Rotate()
|
||||
{
|
||||
Generic.Swap(ref Size.Width, ref Size.Height);
|
||||
Generic.Swap(ref Size.Width, ref Size.Length);
|
||||
IsRotated = !IsRotated;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace OpenNest.RectanglePacking
|
||||
double minX = items[0].X;
|
||||
double minY = items[0].Y;
|
||||
double maxX = items[0].X + items[0].Width;
|
||||
double maxY = items[0].Y + items[0].Height;
|
||||
double maxY = items[0].Y + items[0].Length;
|
||||
|
||||
foreach (var box in items)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user