public List <LineSegment> SpanningTree(KruskalType type = KruskalType.MINIMUM /*, BitmapData keepOutMask = null*/) { List <Edge> edges = DelaunayHelpers.SelectNonIntersectingEdges(/*keepOutMask,*/ _edges); List <LineSegment> segments = DelaunayHelpers.DelaunayLinesForEdges(edges); return(DelaunayHelpers.Kruskal(segments, type)); }
public List <LineSegment> SpanningTree(KruskalType type = KruskalType.MINIMUM) { List <Edge> edges = DelaunayHelpers.SelectNonIntersectingEdges(_edges); List <LineSegment> lineSegments = DelaunayHelpers.DelaunayLinesForEdges(edges); return(DelaunayHelpers.Kruskal(lineSegments, type)); }
public List <LineSegment> DelaunayTriangulation(/*BitmapData keepOutMask = null*/) { return(DelaunayHelpers.DelaunayLinesForEdges(DelaunayHelpers.SelectNonIntersectingEdges(/*keepOutMask,*/ _edges))); }
public List <LineSegment> DelaunayTriangulation() { return(DelaunayHelpers.DelaunayLinesForEdges(DelaunayHelpers.SelectNonIntersectingEdges(_edges))); }