public LineSegment DelaunayLine() { // draw a line connecting the input Sites for which the edge is a bisector: return new LineSegment(LeftSite.Coord(), RightSite.Coord()); }
public static List <LineSegment> DelaunayLinesForEdges(List <Edge> edges) { List <LineSegment> list = new List <LineSegment>(); for (int i = 0; i < edges.Count; i++) { Edge edge = edges[i]; list.Add(edge.DelaunayLine()); } return(list); }