Parameters of point cloud triangulation.
More...
|
| new unsafe ref int | numNeighbours [get] |
| | The number of nearest neighbor points to use for building of local triangulation.
|
| |
| new unsafe ref float | radius [get] |
| |
| new unsafe ref float | critAngle [get] |
| | Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)
|
| |
| new unsafe ref float | boundaryAngle [get] |
| | the vertex is considered as boundary if its neighbor ring has angle more than this value
|
| |
| new unsafe ref float | critHoleLength [get] |
| | Critical length of hole (all holes with length less then this value will be filled)
|
| |
| new unsafe ref bool | automaticRadiusIncrease [get] |
| | automatic increase of the radius if points outside can make triangles from original radius not-Delone
|
| |
| new unsafe MR.? Const_PointCloud | searchNeighbors [get, set] |
| | optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)
|
| |
Parameters of point cloud triangulation.
- See also
- triangulatePointCloud Generated from class
MR.TriangulationParameters. This is the non-const half of the class.
◆ TriangulationParameters() [1/4]
| unsafe MR.TriangulationParameters.TriangulationParameters |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ TriangulationParameters() [2/4]
| unsafe MR.TriangulationParameters.TriangulationParameters |
( |
int | numNeighbours, |
|
|
float | radius, |
|
|
float | critAngle, |
|
|
float | boundaryAngle, |
|
|
float | critHoleLength, |
|
|
bool | automaticRadiusIncrease, |
|
|
MR.Const_PointCloud? | searchNeighbors ) |
|
inline |
◆ TriangulationParameters() [3/4]
| unsafe MR.TriangulationParameters.TriangulationParameters |
( |
MR.Const_TriangulationParameters | _other | ) |
|
|
inline |
Generated from constructor MR.TriangulationParameters.TriangulationParameters.
◆ TriangulationParameters() [4/4]
Generated from constructor MR.TriangulationParameters.TriangulationParameters.
◆ assign()
Generated from method MR.TriangulationParameters.operator=.
◆ automaticRadiusIncrease
| new unsafe ref bool MR.TriangulationParameters.automaticRadiusIncrease |
|
get |
automatic increase of the radius if points outside can make triangles from original radius not-Delone
◆ boundaryAngle
| new unsafe ref float MR.TriangulationParameters.boundaryAngle |
|
get |
the vertex is considered as boundary if its neighbor ring has angle more than this value
◆ critAngle
| new unsafe ref float MR.TriangulationParameters.critAngle |
|
get |
Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)
Good
|
Too small value
|
◆ critHoleLength
| new unsafe ref float MR.TriangulationParameters.critHoleLength |
|
get |
Critical length of hole (all holes with length less then this value will be filled)
If value is subzero it is set automaticly to 0.7*bbox.diagonal()
◆ numNeighbours
| new unsafe ref int MR.TriangulationParameters.numNeighbours |
|
get |
The number of nearest neighbor points to use for building of local triangulation.
- Note
- Too small value can make not optimal triangulation and additional holes
Too big value increases difficulty of optimization and decreases performance
Good
|
Too small value
|
◆ radius
| new unsafe ref float MR.TriangulationParameters.radius |
|
get |
Radius of neighborhood around each point to consider for building local triangulation. This is an alternative to numNeighbours parameter. Please set to positive value only one of them.
◆ searchNeighbors
| new unsafe MR.? Const_PointCloud MR.TriangulationParameters.searchNeighbors |
|
getset |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)
The documentation for this class was generated from the following file: