IVoronoiFactory.cs 419 B

123456789101112131415161718
  1. namespace UnityEngine.U2D.Animation.TriangleNet
  2. .Voronoi
  3. {
  4. using Animation.TriangleNet.Topology.DCEL;
  5. internal interface IVoronoiFactory
  6. {
  7. void Initialize(int vertexCount, int edgeCount, int faceCount);
  8. void Reset();
  9. Vertex CreateVertex(double x, double y);
  10. HalfEdge CreateHalfEdge(Vertex origin, Face face);
  11. Face CreateFace(Geometry.Vertex vertex);
  12. }
  13. }