Repo-wide sweep with the pinned CSharpier 1.3.0 tool. Whitespace and line-wrapping only; OpenNest.Engine.Tests (109) and OpenNest.IO.Tests pass after reformat, full solution builds 0 errors. Added .csharpierignore so csproj/config XML keeps its existing layout (CSharpier's XML wrapping churns attributes with zero benefit). Formatting is now enforceable: dotnet csharpier check . passes.
28 lines
634 B
C#
28 lines
634 B
C#
using System.Collections.Generic;
|
|
using OpenNest.Geometry;
|
|
|
|
namespace OpenNest;
|
|
|
|
public class SplitFeatureResult
|
|
{
|
|
public List<Entity> NegativeSideEdge { get; }
|
|
public List<Entity> PositiveSideEdge { get; }
|
|
|
|
public SplitFeatureResult(List<Entity> negativeSideEdge, List<Entity> positiveSideEdge)
|
|
{
|
|
NegativeSideEdge = negativeSideEdge;
|
|
PositiveSideEdge = positiveSideEdge;
|
|
}
|
|
}
|
|
|
|
public interface ISplitFeature
|
|
{
|
|
string Name { get; }
|
|
SplitFeatureResult GenerateFeatures(
|
|
SplitLine line,
|
|
double extentStart,
|
|
double extentEnd,
|
|
SplitParameters parameters
|
|
);
|
|
}
|