24 lines
599 B
C#
24 lines
599 B
C#
using OpenNest.Geometry;
|
|
|
|
namespace OpenNest.Engine.CirclePacking
|
|
{
|
|
internal class Item : Circle
|
|
{
|
|
// Optional caller-supplied packing identifier; not assigned automatically; preserved by clones.
|
|
public int PackingId { get; set; }
|
|
|
|
public override Item Clone()
|
|
{
|
|
var copy = new Item
|
|
{
|
|
Radius = this.Radius,
|
|
Center = this.Center,
|
|
Rotation = this.Rotation,
|
|
PackingId = this.PackingId,
|
|
};
|
|
CopyBaseTo(copy);
|
|
return copy;
|
|
}
|
|
}
|
|
}
|