绘制一个球
根据公式x^2+y^2+z^2=R^2;
令x=RsinAcosB y=RcosAcosB z=RsinB
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Steema.TeeChart; using Steema.TeeChart.Styles; using System.Drawing.Drawing2D; using Steema.TeeChart.Tools; namespace WindowsFormsApplication1 { public partial class Form1 : Form { private TChart tChart1 = new TChart(); private Surface surfaceSeries1 = new Surface(); private GridBand gridBand = new GridBand(); private Surface surfaceSeries2 = new Surface(); public Form1() { InitializeComponent(); Init(); }