chore: sort using directives
Auto-formatter reordering of using statements across the solution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenNest.CNC.CuttingStrategy;
|
||||
using OpenNest.Math;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace OpenNest.Engine.Sequencing
|
||||
{
|
||||
|
||||
@@ -25,10 +25,10 @@ namespace OpenNest.Engine.Sequencing
|
||||
|
||||
private static double MinEdgeDistance(OpenNest.Geometry.Vector center, OpenNest.Geometry.Box plateBox)
|
||||
{
|
||||
var distLeft = center.X - plateBox.Left;
|
||||
var distRight = plateBox.Right - center.X;
|
||||
var distLeft = center.X - plateBox.Left;
|
||||
var distRight = plateBox.Right - center.X;
|
||||
var distBottom = center.Y - plateBox.Bottom;
|
||||
var distTop = plateBox.Top - center.Y;
|
||||
var distTop = plateBox.Top - center.Y;
|
||||
|
||||
return System.Math.Min(System.Math.Min(distLeft, distRight), System.Math.Min(distBottom, distTop));
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using OpenNest.Math;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenNest.Engine.Sequencing
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using OpenNest.CNC.CuttingStrategy;
|
||||
using System;
|
||||
|
||||
namespace OpenNest.Engine.Sequencing
|
||||
{
|
||||
@@ -9,12 +9,12 @@ namespace OpenNest.Engine.Sequencing
|
||||
{
|
||||
return parameters.Method switch
|
||||
{
|
||||
SequenceMethod.RightSide => new RightSideSequencer(),
|
||||
SequenceMethod.LeftSide => new LeftSideSequencer(),
|
||||
SequenceMethod.RightSide => new RightSideSequencer(),
|
||||
SequenceMethod.LeftSide => new LeftSideSequencer(),
|
||||
SequenceMethod.BottomSide => new BottomSideSequencer(),
|
||||
SequenceMethod.EdgeStart => new EdgeStartSequencer(),
|
||||
SequenceMethod.LeastCode => new LeastCodeSequencer(),
|
||||
SequenceMethod.Advanced => new AdvancedSequencer(parameters),
|
||||
SequenceMethod.EdgeStart => new EdgeStartSequencer(),
|
||||
SequenceMethod.LeastCode => new LeastCodeSequencer(),
|
||||
SequenceMethod.Advanced => new AdvancedSequencer(parameters),
|
||||
_ => throw new NotSupportedException(
|
||||
$"Sequence method '{parameters.Method}' is not supported.")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user