Add EllipsePrimitive to DTO Converter
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
using System;
|
||||
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
{
|
||||
public class PointShape : IPointShape
|
||||
{
|
||||
public Guid Id { get; }
|
||||
public double Area { get; set; }
|
||||
|
||||
public PointShape(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public PointShape() : this (Guid.NewGuid())
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user