19 lines
398 B
C#
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);
|
|||
|
}
|
|||
|
}
|