コード例 #1
0
 internal void BordersandCorners(Edges dualGraphVertex, Corners v0, Corners v1)
 {
     borders.Add(dualGraphVertex);
     AddToCorners(v0);
     AddToCorners(v1);
 }
コード例 #2
0
 public Edges(int index, Centers leftCenter, Centers rightCenter, Corners startCorner, Corners endCorner, VoronoiPoint mdpt)
 {
     Index           = index;
     delaunayCenter1 = leftCenter;
     delaunayCenter2 = rightCenter;
     voronoiCorner1  = startCorner;
     voronoiCorner2  = endCorner;
     midpoint        = mdpt;
     BordersAndProtrudes();
     mapdata = new EdgeMapData();
 }