2
0

Cylindrical.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. A point's [link:https://en.wikipedia.org/wiki/Cylindrical_coordinate_system cylindrical coordinates].
  14. </p>
  15. <h2>Constructor</h2>
  16. <h3>[name]( [param:Float radius], [param:Float theta], [param:Float y] )</h3>
  17. <p>
  18. [page:Float radius] - distance from the origin to a point in the x-z plane.
  19. Default is *1.0*.<br />
  20. [page:Float theta] - counterclockwise angle in the x-z plane measured in radians
  21. from the positive z-axis. Default is *0*.<br />
  22. [page:Float y] - height above the x-z plane. Default is *0*.
  23. </p>
  24. <h2>Properties</h2>
  25. <h3>[property:Float radius]</h3>
  26. <h3>[property:Float theta]</h3>
  27. <h3>[property:Float y]</h3>
  28. <h2>Methods</h2>
  29. <h3>[method:Cylindrical clone]()</h3>
  30. <p>
  31. Returns a new cylindrical with the same [page:.radius radius], [page:.theta theta]
  32. and [page:.y y] properties as this one.
  33. </p>
  34. <h3>[method:Cylindrical copy]( [param:Cylindrical other] )</h3>
  35. <p>
  36. Copies the values of the passed Cylindrical's [page:.radius radius], [page:.theta theta]
  37. and [page:.y y] properties to this cylindrical.
  38. </p>
  39. <h3>[method:Cylindrical set]( [param:Float radius], [param:Float theta], [param:Float y] )</h3>
  40. <p>Sets values of this cylindrical's [page:.radius radius], [page:.theta theta]
  41. and [page:.y y] properties.</p>
  42. <h3>[method:Cylindrical setFromVector3]( [param:Vector3 vec3] )</h3>
  43. <p>
  44. Sets values of this cylindrical's [page:.radius radius], [page:.theta theta]
  45. and [page:.y y] properties from the [page:Vector3 Vector3].
  46. </p>
  47. <h3>[method:Cylindrical setFromCartesianCoords]( [param:Float x], [param:Float y], [param:Float z] )</h3>
  48. <p>
  49. Sets values of this cylindrical's [page:.radius radius], [page:.theta theta]
  50. and [page:.y y] properties from Cartesian coordinates.
  51. </p>
  52. <h2>Source</h2>
  53. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  54. </body>
  55. </html>