Click or drag to resize

MathAlgorithmsConvexDecompose Method

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static ConvexDecompositionCluster[] ConvexDecompose(
	Vector3F[] vertices,
	int[] indices,
	int maxConvexHulls,
	int maxConvexTriangles = 64,
	double minConvexVolume = 0.0001,
	bool convexApproximation = true,
	int maxResolution = 100000,
	double maxConcavity = 0.0025,
	double alpha = 0.05,
	double beta = 0.05,
	int planeDownsampling = 4,
	int hullDownsampling = 4,
	bool normalizeMesh = false,
	bool tetrahedronMode = false
)

Parameters

vertices
Type: NeoAxisVector3F
indices
Type: SystemInt32
maxConvexHulls
Type: SystemInt32
maxConvexTriangles (Optional)
Type: SystemInt32
minConvexVolume (Optional)
Type: SystemDouble
convexApproximation (Optional)
Type: SystemBoolean
maxResolution (Optional)
Type: SystemInt32
maxConcavity (Optional)
Type: SystemDouble
alpha (Optional)
Type: SystemDouble
beta (Optional)
Type: SystemDouble
planeDownsampling (Optional)
Type: SystemInt32
hullDownsampling (Optional)
Type: SystemInt32
normalizeMesh (Optional)
Type: SystemBoolean
tetrahedronMode (Optional)
Type: SystemBoolean

Return Value

Type: ConvexDecompositionCluster
See Also