Aztec Script Reference

cat Global Method

Summary

Dump the contents of a file from the script directory.

Example

js: cat('test.js')
function showParams(obj) {
   for (x in obj)
     print(x + ": " + obj[x]);
}

function deg2rad(t) {
   return t * Math.PI / 180.0;
}

function spinObj(obj) {
   var v1 = new AztecVector3(0, 0, 0);
   for (x=0.0;x<=2.0*Math.PI;x+=0.2) {
     v1.x = 20.0 * Math.cos(x);
     v1.y = 20.0 * Math.sin(x);
  obj.Translate = v1;
   }
}

...

js:

See Also

Groups [ Global Method ]
Documents [ LXR ID Search ]

This page was generated by APIDOC