Add polygon shape

This commit is contained in:
Evgeny Redikultsev
2025-09-07 08:12:07 +05:00
parent 98c94dc232
commit c31e56869c
20 changed files with 509 additions and 15 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Shapes;
namespace StructureHelperCommon.Models.Shapes
{
public interface IPolygonCalculator
{
double GetPerimeter(IPolygonShape polygon);
double GetArea(IPolygonShape polygon);
bool ContainsPoint(IPolygonShape polygon, IPoint2D point);
}
}