More code reorganization (for beta 4)

git-svn-id: https://triangle.svn.codeplex.com/svn@75021 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
This commit is contained in:
SND\wo80_cp
2014-05-29 18:14:13 +00:00
parent 94fafe03c0
commit 7384b5fd07
39 changed files with 927 additions and 410 deletions
@@ -0,0 +1,24 @@
namespace TriangleNet.Geometry
{
using System.Collections.Generic;
using TriangleNet.Data;
public interface IPolygon
{
List<Vertex> Points { get; }
List<IEdge> Segments { get; }
List<Point> Holes { get; }
//List<Point> Regions { get; }
List<RegionPointer> Regions { get; }
bool HasPointMarkers { get; set; }
bool HasSegmentMarkers { get; set; }
void AddContour(IEnumerable<Vertex> points, int marker, bool hole, bool convex);
void AddContour(IEnumerable<Vertex> points, int marker, Point hole);
Rectangle Bounds();
}
}