Class for computing the convex hull of vertices

Constructors

Methods

  • Compute the faces of the convex hull

    Parameters

    • allVertices: Vector3[]

      position of all vertices

    Returns number[][]

    a list of faces. A face consists of a list of vertex indices.

  • Compute the indices of the vertices of the convex hull

    Parameters

    • allVertices: Vector3[]

      position of all vertices

    Returns number[]

    a list of vertex indices

  • Compute the vertices of the convex hull

    Parameters

    • allVertices: Vector3[]

      position of all vertices

    Returns Vector3[]

    a list of vertices

""