Consider some region region
, chosen for simplicity as a parallelepiped:
region= Parallelepiped[{0, 0, 0}, {{1, 0, 0}, {1, 1, 0}, {0, 1, 1}}]
Let us generate points that belong to this region:
pt = RandomPoint[
Parallelepiped[{0, 0, 0}, {{1, 0, 0}, {1, 1, 0}, {0, 1, 1}}],
10000];
Show[BoundaryMeshRegion[region,
MeshCellStyle -> {1 -> Directive[Thick, Black],
2 -> Directive[Opacity[0.1], Interpreter["Color"]["aqua"]]},
BoxRatios -> {1, 1, 1}, Boxed -> True, Axes -> True],
ListPointPlot3D[pt]]
Next, let us assume the following task: suppose we have points that belong to some unknown region. Let us use the same points set pt
for simplicity. In principle, we may visualize the region by using ListPointPlot3D
. However, there is a problem: if the number of points is large, then this command is very slow and slows the interface down. Also, continuous figures look much prettier.
Is it possible, using pt
, to visualize the region without using ListPointPlot3D, but instead somehow continuously, such that the result would look like the BoundaryMeshRegion
plot? E.g., to "interpolate" the set of boundary points from pt
in order to obtain a smooth function, and then just plot it?
ConvexHullRegion
is what you are looking for? $\endgroup$