More code reorganization (6)

git-svn-id: https://triangle.svn.codeplex.com/svn@75300 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
This commit is contained in:
SND\wo80_cp
2014-08-27 16:43:48 +00:00
parent f022884735
commit f674161dff
38 changed files with 1112 additions and 1072 deletions
@@ -11,21 +11,13 @@ namespace TriangleNet.Voronoi
public class StandardVoronoi : VoronoiBase
{
public StandardVoronoi(Mesh mesh)
: this(mesh, mesh.bounds)
{
}
public StandardVoronoi(Mesh mesh, Rectangle box)
: base(mesh, true)
{
// We explicitly told the base constructor to call the Generate method, so
// at this point the basic Voronoi diagram is already created.
PostProcess(box);
}
private void PostProcess(Rectangle box)
private void Intersect(Rectangle box)
{
// Compute edge intersections with bounding box.
// TODO: compute edge intersections with bounding box.
}
}
}