Files
Triangle.NET/Triangle.NET/Triangle/Voronoi/IVoronoiFactory.cs
T
SND\wo80_cp a2a6d8c839 Add interface for geometric predicates
Add factory for Voronoi mesh entities (reduces allocations in SimpleSmoother)
Fix issue #10959

git-svn-id: https://triangle.svn.codeplex.com/svn@77246 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
2015-09-10 23:05:25 +00:00

19 lines
398 B
C#

namespace TriangleNet.Voronoi
{
using TriangleNet.Topology.DCEL;
public interface IVoronoiFactory
{
void Initialize(int vertexCount, int edgeCount, int faceCount);
void Reset();
Vertex CreateVertex(double x, double y);
HalfEdge CreateHalfEdge(Vertex origin, Face face);
Face CreateFace(Geometry.Vertex vertex);
}
}