#include <SurfaceTriangulation.h>
◆ SurfaceTriangulation()
◆ perform() [1/2]
void Reen::SurfaceTriangulation::perform |
( |
const std::vector< Base::Vector3f > & |
normals | ) |
|
Pass the normals to the points given in the constructor.
- Parameters
-
[in] | normals | the normals to the given points. |
◆ perform() [2/2]
void Reen::SurfaceTriangulation::perform |
( |
int |
ksearch | ) |
|
Set the number of k nearest neighbors to use for the normal estimation.
- Parameters
-
[in] | k | the number of k-nearest neighbors |
◆ setMu()
void Reen::SurfaceTriangulation::setMu |
( |
double |
mu | ) |
|
Set the multiplier of the nearest neighbor distance to obtain the final search radius for each point (this will make the algorithm adapt to different point densities in the cloud).
- Parameters
-
◆ setSearchRadius()
void Reen::SurfaceTriangulation::setSearchRadius |
( |
double |
radius | ) |
|
Set the sphere radius that is to be used for determining the k-nearest neighbors used for triangulating.
- Parameters
-
[in] | radius | the sphere radius that is to contain all k-nearest neighbors |
- Note
- This distance limits the maximum edge length!
The documentation for this class was generated from the following file:
- FreeCAD/src/Mod/ReverseEngineering/App/SurfaceTriangulation.h