QuickHull3.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. <div class="desc">
  13. QuickHull3 infos
  14. </div>
  15. <h2>Constructor</h2>
  16. <h3>[name]()</h3>
  17. </div>
  18. <h2>Properties</h2>
  19. <h3>[property:Float tolerance]</h3>
  20. <div>
  21. The epsilon value that is used for internal comparative operations. The calculation of this value depends on the size of the geometry. Default is -1.
  22. </div>
  23. <h3>[property:Array faces]</h3>
  24. <div>
  25. The generated faces of the convex hull. Default is an empty array.
  26. </div>
  27. <h3>[property:Array newFaces]</h3>
  28. <div>
  29. This array holds the faces that are generated within a single iteration. Default is an empty array.
  30. </div>
  31. <h3>[property:VertexList assigned]</h3>
  32. <div>
  33. This [page:VertexList vertex list] holds all vertices that are assigned to a face. Default is an empty vertex list.
  34. </div>
  35. <h3>[property:VertexList unassigned]</h3>
  36. <div>
  37. This [page:VertexList vertex list] holds all vertices that are not assigned to a face. Default is an empty vertex list.
  38. </div>
  39. <h3>[property:Array vertices]</h3>
  40. <div>
  41. The internal representation of the given geometry data (an array of [page:Vertex vertices]).
  42. </div>
  43. <h2>Methods</h2>
  44. <h3>[method:QuickHull3 setFromPoints]( [page:Array points] )</h3>
  45. [page:Array points] - Array of [page:Vector3 Vector3s] that the resulting convex hull will contain.<br /><br />
  46. <div>Computes to convex hull for the given array of points.</div>
  47. <h3>[method:QuickHull3 setFromObject]( [page:Object3D object] )</h3>
  48. [page:Object3D object] - [page:Object3D] to compute the convex hull of.<br /><br />
  49. <div>Computes the convex hull of an [page:Object3D] (including its children),
  50. accounting for the world transforms of both the object and its childrens.</div>
  51. <h3>[method:QuickHull3 makeEmpty]()</h3>
  52. <div>Makes this convex hull empty.</div>
  53. <h2>Source</h2>
  54. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  55. </body>
  56. </html>