2
0

Cylindrical.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html lang="it">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <p class="desc">
  12. [link:https://en.wikipedia.org/wiki/Cylindrical_coordinate_system Coordinate cilindriche] di un punto.
  13. </p>
  14. <h2>Costruttore</h2>
  15. <h3>[name]( [param:Float radius], [param:Float theta], [param:Float y] )</h3>
  16. <p>
  17. [page:Float radius] - distanza dall'origine a un punto nel piano x-z.
  18. Il valore predefinito è `1.0`.<br />
  19. [page:Float theta] - angolo in senso antiorario nel piano x-z misurato in radianti dall'asse z positivo.
  20. Il valore predefinito è `0`.<br />
  21. [page:Float y] - altezza sopra il piano x-z. Il valore predefinito è `0`.
  22. </p>
  23. <h2>Proprietà</h2>
  24. <h3>[property:Float radius]</h3>
  25. <h3>[property:Float theta]</h3>
  26. <h3>[property:Float y]</h3>
  27. <h2>Metodi</h2>
  28. <h3>[method:Cylindrical clone]()</h3>
  29. <p>
  30. Restituisce un nuovo cilindro con le stesse proprietà [page:.radius radius], [page:.theta theta]
  31. e [page:.y y] di questo.
  32. </p>
  33. <h3>[method:this copy]( [param:Cylindrical other] )</h3>
  34. <p>
  35. Copia i valori delle proprietà [page:.radius radius], [page:.theta theta]
  36. e [page:.y y] del cilindro passato in questo cilindro.
  37. </p>
  38. <h3>[method:this set]( [param:Float radius], [param:Float theta], [param:Float y] )</h3>
  39. <p>
  40. Imposta i valori delle proprietà [page:.radius radius], [page:.theta theta]
  41. e [page:.y y] di questo cilindro.
  42. </p>
  43. <h3>[method:this setFromVector3]( [param:Vector3 vec3] )</h3>
  44. <p>
  45. Imposta i valori delle proprietà [page:.radius radius], [page:.theta theta]
  46. e [page:.y y] di questo cilindro dal [page:Vector3 Vector3].
  47. </p>
  48. <h3>[method:this setFromCartesianCoords]( [param:Float x], [param:Float y], [param:Float z] )</h3>
  49. <p>
  50. Imposta i valori delle proprietà [page:.radius radius], [page:.theta theta]
  51. e [page:.y y] di questo cilindro dalle coordinate cartesiane.
  52. </p>
  53. <h2>Source</h2>
  54. <p>
  55. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  56. </p>
  57. </body>
  58. </html>