Пример #1
0
 public bool Equals(VoronoiVertex other)
 {
     return(Math.Abs(X - other.X) < EPSILON_DOUBLE && Math.Abs(Y - other.Y) < EPSILON_DOUBLE);
 }
Пример #2
0
 internal Builder(Vertex[] nodeList)
 {
     Seeds           = nodeList;
     VoronoiVertices = new VoronoiVertex[Seeds.Length];
 }