Circle approximation: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 17: Line 17:
   for (i=0;i<n.Value();i++) {
   for (i=0;i<n.Value();i++) {
     rot.applyOnce(ptmp);
     rot.applyOnce(ptmp);
     this.dataX.push(ptmp.X()];
     this.dataX.push(ptmp.X());
     this.dataY.push(ptmp.Y());
     this.dataY.push(ptmp.Y());
   }
   }

Revision as of 09:17, 24 June 2009

The underlying JavaScript code