[name]

QuickHull3 infos

Constructor

[name]()

Properties

[property:Float tolerance]

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.

[property:Array faces]

The generated faces of the convex hull. Default is an empty array.

[property:Array newFaces]

This array holds the faces that are generated within a single iteration. Default is an empty array.

[property:VertexList assigned]

This [page:VertexList vertex list] holds all vertices that are assigned to a face. Default is an empty vertex list.

[property:VertexList unassigned]

This [page:VertexList vertex list] holds all vertices that are not assigned to a face. Default is an empty vertex list.

[property:Array vertices]

The internal representation of the given geometry data (an array of [page:Vertex vertices]).

Methods

[method:QuickHull3 setFromPoints]( [page:Array points] )

[page:Array points] - Array of [page:Vector3 Vector3s] that the resulting convex hull will contain.

Computes to convex hull for the given array of points.

[method:QuickHull3 setFromObject]( [page:Object3D object] )

[page:Object3D object] - [page:Object3D] to compute the convex hull of.

Computes the convex hull of an [page:Object3D] (including its children), accounting for the world transforms of both the object and its childrens.

[method:QuickHull3 makeEmpty]()

Makes this convex hull empty.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]