Exemple #1
0
 public List <LineSegment> SpanningTree(KruskalType type = KruskalType.Minimum)
 {
     return(DelaunayHelpers.Kruskal(DelaunayHelpers.DelaunayLinesForEdges(Edges), type));
 }
Exemple #2
0
 public List <LineSegment> Hull()
 {
     return(DelaunayHelpers.DelaunayLinesForEdges(HullEdges()));
 }
Exemple #3
0
 public List <LineSegment> DelaunayTriangulation()
 {
     return(DelaunayHelpers.DelaunayLinesForEdges(Edges));
 }
Exemple #4
0
 public List <LineSegment> VoronoiDiagram()
 {
     return(DelaunayHelpers.VisibleLineSegments(Edges));
 }
Exemple #5
0
 public List <LineSegment> DelaunayLinesForSite(Vector2 p)
 {
     return(DelaunayHelpers.DelaunayLinesForEdges(DelaunayHelpers.SelectEdgesForSitePoint(p, Edges)));
 }
Exemple #6
0
 public List <LineSegment> VoronoiBoundaryForSite(Vector2 p)
 {
     return(DelaunayHelpers.VisibleLineSegments(DelaunayHelpers.SelectEdgesForSitePoint(p, Edges)));
 }