Shape.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../../list.js"></script>
  6. <script src="../../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../../page.css" />
  8. </head>
  9. <body>
  10. [page:Path] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">Defines a 2d shape plane using paths.</div>
  13. <h2>Constructor</h2>
  14. <h3>[name]()</h3>
  15. <div>
  16. todo
  17. </div>
  18. <h2>Properties</h2>
  19. <h3>[property:array holes]</h3>
  20. <div>
  21. todo
  22. </div>
  23. <h2>Methods</h2>
  24. <h3>[method:todo makeGeometry]([page:todo options])</h3>
  25. <div>
  26. options -- The options passed as the second argument to [page:ShapeGeometry ShapeGeometry]
  27. </div>
  28. <div>
  29. Convenience method to return ShapeGeometry
  30. </div>
  31. <h3>[method:todo extractAllPoints]([page:todo divisions])</h3>
  32. <div>
  33. divisions -- todo
  34. </div>
  35. <div>
  36. Get points of shape and holes (keypoints based on segments parameter)
  37. </div>
  38. <h3>[method:todo extrude]([page:todo options])</h3>
  39. <div>
  40. options -- The options passed as the second argument to [page:ExtrudeGeometry ExtrudeGeometry]
  41. </div>
  42. <div>
  43. Convenience method to return ExtrudeGeometry
  44. </div>
  45. <h3>[method:todo extractPoints]([page:todo divisions])</h3>
  46. <div>
  47. divisions -- todo
  48. </div>
  49. <div>
  50. todo
  51. </div>
  52. <h3>[method:todo extractAllSpacedPoints]([page:todo divisions])</h3>
  53. <div>
  54. divisions -- todo
  55. </div>
  56. <div>
  57. todo
  58. </div>
  59. <h3>[method:todo getPointsHoles]([page:todo divisions])</h3>
  60. <div>
  61. divisions -- todo
  62. </div>
  63. <div>
  64. Get points of holes
  65. </div>
  66. <h3>[method:todo getSpacedPointsHoles]([page:todo divisions])</h3>
  67. <div>
  68. divisions -- todo
  69. </div>
  70. <div>
  71. Get points of holes (spaced by regular distance)
  72. </div>
  73. <h2>Source</h2>
  74. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  75. </body>
  76. </html>