public List <LineSegment> SpanningTree(string type, BitmapData keepOutMask)
{
List <Edge> edges = selectNonIntersectingEdgesClass.SelectNonIntersectingEdges(keepOutMask, _edges);
List <LineSegment> segments = DelaunayLinesForEdgesClass.DelaunayLinesForEdges(edges);
return(Kruskal.GetKruskal(segments, type));
}