List of Mesh algorithms.
More...
|
template<FaceMeshConcept MeshType, Range R, LoggerConcept LogType = NullLogger>
requires Point3Concept<std::ranges::range_value_t<R>> |
MeshType | vcl::convexHull (const R &points, bool deterministic=false, LogType &log=nullLogger) |
| Compute the convex hull of a set of points.
|
|
template<FaceMeshConcept MeshType, Range R, LoggerConcept LogType = NullLogger>
requires Point3Concept<std::ranges::range_value_t<R>> |
MeshType | vcl::convexHull (const R &points, LogType &log) |
| Compute the convex hull of a set of points.
|
|
template<MeshConcept MeshType> |
constexpr std::string | vcl::meshTypeName () |
| Returns the name of the mesh type as a string.
|
|
List of Mesh algorithms.
In this module, you can find the mesh algorithms of VCLib, that involve operations on meshes, like cleaning, filtering, and smoothing.
You can access these algorithms by including #include <vclib/algorithms/mesh.h>
◆ convexHull() [1/2]
template<FaceMeshConcept MeshType, Range R, LoggerConcept LogType = NullLogger>
requires Point3Concept<std::ranges::range_value_t<R>>
Compute the convex hull of a set of points.
- Template Parameters
-
PointType | The type of the points. |
- Parameters
-
[in] | points | The set of points. |
[in] | deterministic | If true, the shuffle will be deterministic. |
[in] | log | The logger. |
- Returns
- The convex hull of the points.
◆ convexHull() [2/2]
template<FaceMeshConcept MeshType, Range R, LoggerConcept LogType = NullLogger>
requires Point3Concept<std::ranges::range_value_t<R>>
MeshType vcl::convexHull |
( |
const R & |
points, |
|
|
LogType & |
log |
|
) |
| |
Compute the convex hull of a set of points.
- Template Parameters
-
PointType | The type of the points. |
- Parameters
-
[in] | points | The set of points. |
[in] | log | The logger. |
- Returns
- The convex hull of the points.
◆ meshTypeName()
template<MeshConcept MeshType>
Returns the name of the mesh type as a string.
- Returns
- the name of the mesh type as a string.