refactor: rename DefinedShape to ShapeProfile
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -398,7 +398,7 @@ namespace OpenNest.Geometry
|
||||
public override Entity OffsetEntity(double distance, OffsetSide side)
|
||||
{
|
||||
var offsetShape = new Shape();
|
||||
var definedShape = new DefinedShape(this);
|
||||
var definedShape = new ShapeProfile(this);
|
||||
|
||||
Entity lastEntity = null;
|
||||
Entity lastOffsetEntity = null;
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace OpenNest.Geometry
|
||||
{
|
||||
public class DefinedShape
|
||||
public class ShapeProfile
|
||||
{
|
||||
public DefinedShape(Shape shape)
|
||||
public ShapeProfile(Shape shape)
|
||||
{
|
||||
Update(shape.Entities);
|
||||
}
|
||||
|
||||
public DefinedShape(List<Entity> entities)
|
||||
public ShapeProfile(List<Entity> entities)
|
||||
{
|
||||
Update(entities);
|
||||
}
|
||||
Reference in New Issue
Block a user