Beispiel #1
0
        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));
        }
Beispiel #2
0
 public List <LineSegment> Hull()
 {
     return(DelaunayLinesForEdgesClass.DelaunayLinesForEdges(HullEdges()));
 }
Beispiel #3
0
 public List <LineSegment> DelaunayLinesForSite(PointF coord)
 {
     return(DelaunayLinesForEdgesClass.DelaunayLinesForEdges(selectEdgesForSitePointFClass.SelectEdgesForSitePointF(coord, _edges)));
 }
Beispiel #4
0
 public List <LineSegment> DelaunayTriangulation(BitmapData keepOutMask)
 {
     return(DelaunayLinesForEdgesClass.DelaunayLinesForEdges(selectNonIntersectingEdgesClass.SelectNonIntersectingEdges(keepOutMask, _edges)));
 }
Beispiel #5
0
 public List <LineSegment> DelaunayLinesForSite(Vector2 coord)
 {
     return(DelaunayLinesForEdgesClass.DelaunayLinesForEdges(selectEdgesForSiteVector2Class.SelectEdgesForSiteVector2(coord, _edges)));
 }