コード例 #1
0
        /// <summary>
        /// The addZone method is used to add a zone into this MultiZone object.
        /// </summary>
        /// <param name="zone"> The zone you want to add.</param>
        public void AddZone(IZone zone)
        {
            double area = zone.GetArea();

            m_zones.Add(zone);
            m_areas.Add(area);

            m_totalArea += area;
        }