MeshCreateQuickHull3D Method (IEnumerablePoint3d) |
Attempts to create a 3d convex hull mesh from input points using the QuickHull algorithm.
Hull faces whose shared edges are not clearly convex are merged, so faces of the resulting
mesh may be triangles, quads, or larger convex polygons (returned as mesh ngons).
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static Mesh CreateQuickHull3D(
IEnumerable<Point3d> points
)
Public Shared Function CreateQuickHull3D (
points As IEnumerable(Of Point3d)
) As Mesh
Parameters
- points
- Type: System.Collections.GenericIEnumerablePoint3d
The 3D input points to be covered with the convex hull. At least four
points are required, and they must not be coincident, colinear, or coplanar.
Return Value
Type:
MeshA valid mesh if successful. If there were too few input points, or the input was
degenerate (coincident, colinear, or coplanar), the result is null.
See Also