SuperMap.WindowsPhone.Core.GeoCircle.caculateParts C# (CSharp) Method

caculateParts() private method

private caculateParts ( ) : void
return void
        private void caculateParts()
        {
            double unitsAngle = 360 / 72;
            double startAngle = 0;
            double unitsPI = Math.PI / 180;
            this.parts.Clear();
            Point2DCollection item = new Point2DCollection();
            for (int i = 0; i < 72; i++)
            {
                Point2D p = new Point2D(Math.Cos(startAngle * unitsPI) * this.radius + center.X, Math.Sin(startAngle * unitsPI) * this.radius + center.Y);
                item.Add(p);
                startAngle += unitsAngle;
            }
            this.parts.Add(item);
        }
        /// <summary>${WP_core_GeoCircle_method_clone_D}</summary>