public List <LineSegment> SpanningTree(KruskalType type = KruskalType.Minimum) { return(DelaunayHelpers.Kruskal(DelaunayHelpers.DelaunayLinesForEdges(Edges), type)); }
public List <LineSegment> Hull() { return(DelaunayHelpers.DelaunayLinesForEdges(HullEdges())); }
public List <LineSegment> DelaunayTriangulation() { return(DelaunayHelpers.DelaunayLinesForEdges(Edges)); }
public List <LineSegment> VoronoiDiagram() { return(DelaunayHelpers.VisibleLineSegments(Edges)); }
public List <LineSegment> DelaunayLinesForSite(Vector2 p) { return(DelaunayHelpers.DelaunayLinesForEdges(DelaunayHelpers.SelectEdgesForSitePoint(p, Edges))); }
public List <LineSegment> VoronoiBoundaryForSite(Vector2 p) { return(DelaunayHelpers.VisibleLineSegments(DelaunayHelpers.SelectEdgesForSitePoint(p, Edges))); }