Exemplo n.º 1
0
        //
        // How many of the points that define this polygon were generated by the Point Factory (as opposed to defined in the problem).
        //
        public int GeneratedPointCount()
        {
            int count = 0;

            foreach (Point pt in points)
            {
                if (PointFactory.IsGenerated(pt))
                {
                    count++;
                }
            }
            return(count);
        }