MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MRAlphaShape.h>

Public Member Functions

bool knowsTwins () const
 whether the twins are known, i.e. the data was prepared with allPoints=true (for a cloud with valid points)
PreciseVertCoords coords (const PointCloud &cloud, VertId v) const

Public Attributes

ConvertToIntVector toInt
 converts cloud's points in integer coordinates
Vector< Vector3i, VertId > intPoints
VertBitSet twins
std::int64_t intRadiusSq = 0
float searchRadius = 0

Detailed Description

inspired by "On the Shape of a Set of Points in the Plane" by HERBERT EDELSBRUNNER, DAVID G. KIRKPATRICK, AND RAIMUND SEIDEL https://www.cs.jhu.edu/~misha/Fall13b/Papers/Edelsbrunner93.pdf a point cloud and a ball radius prepared for the search of alpha-shape triangles; the emptiness of a ball is tested in integer coordinates with simulation-of-simplicity resolving the degeneracies, so both the cloud and the radius are needed in integer form as well


The documentation for this struct was generated from the following file: