Add polygon to DTO convert strategy

This commit is contained in:
Evgeny Redikultsev
2025-10-19 17:37:17 +05:00
parent 5bf01bcb09
commit ed66da123c
64 changed files with 759 additions and 266 deletions

View File

@@ -11,6 +11,11 @@ namespace DataAccess.DTOs
{
private IRectangleShape shape = new RectangleShapeDTO(Guid.Empty);
public EllipseNdmPrimitiveDTO(Guid id)
{
Id = id;
}
[JsonProperty("Id")]
public Guid Id { get; set; }
[JsonProperty("Name")]
@@ -42,7 +47,7 @@ namespace DataAccess.DTOs
public object Clone()
{
throw new NotImplementedException();
return this;
}
public IEnumerable<INdm> GetNdms(ITriangulationOptions triangulationOptions)