sim.getQHull

Retrieves the convex hull mesh from the specified vertices

Synopsis

list verticesOut, list indicesOut = sim.getQHull(list verticesIn) float[] verticesOut, int[] indicesOut = sim.getQHull(float[] verticesIn)

Arguments

  • verticesIn: array containing the input vertices (succession of [x y z] values)

Return values

  • verticesOut: array containing the output vertices (succession of [x y z] values)
  • indicesOut: array containing the output indices (3 values for each triangle)


See also: