Пример #1
0
//--------------------------------------------------------------------------------------------------
//  Public, private or otherwise, everything below this line is for implementation or debugging ONLY
//--------------------------------------------------------------------------------------------------
        private void GenerateBaseMatrix( )
        {
            for (int y = -m_Radius; y < m_Radius + 1; y++)
            {
                for (int x = -m_Radius; x < m_Radius + 1; x++)
                {
                    double theta = Trig.Theta(x, y);

                    OctantEntry entry = new OctantEntry(x, y, theta);

                    m_Matrix[y + m_Radius, x + m_Radius] = entry;
                }
            }
        }