MeshLib C++ Docs
Loading...
Searching...
No Matches
MRAlphaShape.h File Reference
#include "MRMeshFwd.h"
#include "MRPrecisePredicates3.h"
#include "MRFastInt128.h"
#include "MRVector.h"
#include "MRPch/MRBindingMacros.h"
#include <cstddef>
#include <optional>

Go to the source code of this file.

Classes

struct  MR::AlphaShapeData
struct  MR::AlphaShapeStats
struct  MR::AlphaShapeNei
 a neighbour of the point #v in the search of alpha-shape triangles around it More...

Namespaces

namespace  MR
 only for bindings generation

Functions

AlphaShapeData MR::getAlphaShapeData (const PointCloud &cloud, float radius, bool allPoints)
void MR::findAlphaShapeNeiTriangles (const PointCloud &cloud, VertId v, const AlphaShapeData &data, Triangulation &appendTris, std::vector< AlphaShapeNei > &neis, bool onlyLargerVids, AlphaShapeStats *stats=nullptr)
 optional statistics of the work done, which is increased here
std::optional< Triangulation > MR::findAlphaShapeAllTriangles (const PointCloud &cloud, float radius, const ProgressCallback &cb, AlphaShapeStats *stats=nullptr)
 finds all triangles of alpha-shape with negative alpha = -1/radius
Triangulation MR::findAlphaShapeAllTriangles (const PointCloud &cloud, float radius, AlphaShapeStats *stats=nullptr)
std::optional< Triangulation > MR::findAlphaShapeAllTriangles (const PointCloud &cloud, const AlphaShapeData &data, const ProgressCallback &cb, AlphaShapeStats *stats=nullptr)
std::optional< MeshMR::findAlphaShape (const PointCloud &cloud, float radius, const ProgressCallback &cb, std::vector< MeshBuilder::VertDuplication > *dups=nullptr, AlphaShapeStats *stats=nullptr)
Mesh MR::findAlphaShape (const PointCloud &cloud, float radius, std::vector< MeshBuilder::VertDuplication > *dups=nullptr, AlphaShapeStats *stats=nullptr)