19 lines
319 B
C#
19 lines
319 B
C#
using TraceCad.Core.Geometry;
|
|
|
|
namespace TraceCad.Core.Model;
|
|
|
|
public sealed record CircleEntity(
|
|
Guid Id,
|
|
string Layer,
|
|
Point2 Center,
|
|
double Radius) : Entity(Id, Layer)
|
|
{
|
|
public override IEnumerable<Point2> SnapPoints
|
|
{
|
|
get
|
|
{
|
|
yield return Center;
|
|
}
|
|
}
|
|
}
|