Пример #1
0
        void SetGlobalIds()
        {
            int numberOfNodes = Positions.GetLength(0);

            globalIds = new ulong[numberOfNodes];
            for (int i = 0; i < numberOfNodes; ++i)
            {
                globalIds[i] = VoronoiIDProvider.GetID();
            }
        }
Пример #2
0
 public VoronoiNode()
 {
     GlobalID = VoronoiIDProvider.GetID();
 }