#include <convexhull.h>
ConvexHullInterface provides functions for creating a convex hull of a set of points.
Static Public Member Functions | |
static MAXON_METHOD Result< Float > | ComputeConvexHull (const Block< const Vector > &vertices, Float shrink, Float shrinkClamp, BaseArray< Vector > &resultVertices, BaseArray< ConvEdge > &resultEdges, BaseArray< Int > &resultFaces) |
static MAXON_METHOD Result< Float > | ComputeConvexHull (const Block< const Vector > &vertices, Float shrink, Float shrinkClamp, ConvexHullData &hull) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (ConvexHullInterface, MAXON_REFERENCE_STATIC, "net.maxon.interface.convexhull") | |
|
private |
|
static |
Creates a Convex hull out of the input points.
[in] | vertices | Block of point data for which the convex hull is to be calculated. |
[in] | shrink | Value the resulting convex hull is shrunk by. |
[in] | shrinkClamp | Clamping the minimum size of the resulting convex hull. |
[out] | resultVertices | The array is filled with the vertices of the calculated convex hull. |
[out] | resultEdges | The array is filled with the edges of the calculated convex hull. |
[out] | resultFaces | The array is filled with the face of the calculated convex hull. |
|
static |
Creates a Convex hull out of the input points.
[in] | vertices | Block of point data for which the convex hull is to be calculated. |
[in] | shrink | Value the resulting convex hull is shrunk by. |
[in] | shrinkClamp | Clamping the minimum size of the resulting convex hull. |
[out] | hull | The struct is filled with all data that makes up the convex hull (vertices, edges, faces). |