Cylindrical.html 2.1 KB

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