Files
StructureHelper/StructureHelperCommon/Models/Shapes/Logics/IPolygonCalculator.cs
Evgeny Redikultsev c31e56869c Add polygon shape
2025-09-07 08:12:07 +05:00

18 lines
418 B
C#

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);
}
}