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

@@ -9,9 +9,9 @@ namespace StructureHelperCommon.Models.Shapes
{
public interface IPolygonCalculator
{
double GetPerimeter(IPolygonShape polygon);
double GetArea(IPolygonShape polygon);
bool ContainsPoint(IPolygonShape polygon, IPoint2D point);
double GetPerimeter(ILinePolygonShape polygon);
double GetArea(ILinePolygonShape polygon);
bool ContainsPoint(ILinePolygonShape polygon, IPoint2D point);
}
}