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

Parameters of point cloud triangulation. More...

Inheritance diagram for MR.Const_TriangulationParameters:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_TriangulationParameters ()
 Constructs an empty (default-constructed) instance.
unsafe Const_TriangulationParameters (int numNeighbours, float radius, float critAngle, float boundaryAngle, float critHoleLength, bool automaticRadiusIncrease, MR.Const_PointCloud? searchNeighbors)
 Constructs MR.TriangulationParameters elementwise.
unsafe Const_TriangulationParameters (MR.Const_TriangulationParameters _other)
 Generated from constructor MR.TriangulationParameters.TriangulationParameters.
 Const_TriangulationParameters (TriangulationParameters _other)
 Generated from constructor MR.TriangulationParameters.TriangulationParameters.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe int * __ref_storage_numNeighbours
unsafe float * __ref_storage_radius
unsafe float * __ref_storage_critAngle
unsafe float * __ref_storage_boundaryAngle
unsafe float * __ref_storage_critHoleLength
unsafe bool * __ref_storage_automaticRadiusIncrease
unsafe MR.Const_PointCloud._Underlying ** __ptr_storage_searchNeighbors

Properties

unsafe int numNeighbours [get]
 The number of nearest neighbor points to use for building of local triangulation.
unsafe float 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.
unsafe float critAngle [get]
 Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) <table border=0> <caption id="TriangulationParameters::critAngle_examples"></caption> <tr> <td>.
unsafe float boundaryAngle [get]
 the vertex is considered as boundary if its neighbor ring has angle more than this value
unsafe float critHoleLength [get]
 Critical length of hole (all holes with length less then this value will be filled)
unsafe bool automaticRadiusIncrease [get]
 automatic increase of the radius if points outside can make triangles from original radius not-Delone
unsafe MR.? Const_PointCloud searchNeighbors [get]
 optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)

Detailed Description

Parameters of point cloud triangulation.

See also
triangulatePointCloud Generated from class MR.TriangulationParameters. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_TriangulationParameters() [1/4]

unsafe MR.Const_TriangulationParameters.Const_TriangulationParameters ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_TriangulationParameters() [2/4]

unsafe MR.Const_TriangulationParameters.Const_TriangulationParameters ( int numNeighbours,
float radius,
float critAngle,
float boundaryAngle,
float critHoleLength,
bool automaticRadiusIncrease,
MR.Const_PointCloud? searchNeighbors )
inline

Constructs MR.TriangulationParameters elementwise.

◆ Const_TriangulationParameters() [3/4]

unsafe MR.Const_TriangulationParameters.Const_TriangulationParameters ( MR.Const_TriangulationParameters _other)
inline

◆ Const_TriangulationParameters() [4/4]

MR.Const_TriangulationParameters.Const_TriangulationParameters ( TriangulationParameters _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_TriangulationParameters.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_TriangulationParameters.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ptr_storage_searchNeighbors

unsafe MR.Const_PointCloud._Underlying** MR.Const_TriangulationParameters.__ptr_storage_searchNeighbors
protected

◆ __ref_storage_automaticRadiusIncrease

unsafe bool* MR.Const_TriangulationParameters.__ref_storage_automaticRadiusIncrease
protected

◆ __ref_storage_boundaryAngle

unsafe float* MR.Const_TriangulationParameters.__ref_storage_boundaryAngle
protected

◆ __ref_storage_critAngle

unsafe float* MR.Const_TriangulationParameters.__ref_storage_critAngle
protected

◆ __ref_storage_critHoleLength

unsafe float* MR.Const_TriangulationParameters.__ref_storage_critHoleLength
protected

◆ __ref_storage_numNeighbours

unsafe int* MR.Const_TriangulationParameters.__ref_storage_numNeighbours
protected

◆ __ref_storage_radius

unsafe float* MR.Const_TriangulationParameters.__ref_storage_radius
protected

Property Documentation

◆ automaticRadiusIncrease

unsafe bool MR.Const_TriangulationParameters.automaticRadiusIncrease
get

automatic increase of the radius if points outside can make triangles from original radius not-Delone

◆ boundaryAngle

unsafe float MR.Const_TriangulationParameters.boundaryAngle
get

the vertex is considered as boundary if its neighbor ring has angle more than this value

◆ critAngle

unsafe float MR.Const_TriangulationParameters.critAngle
get

Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) <table border=0> <caption id="TriangulationParameters::critAngle_examples"></caption> <tr> <td>.

"Good" width = 350cm </td>

<td>

"Too small value" width = 350cm </td>

</tr> </table>

◆ critHoleLength

unsafe float MR.Const_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

unsafe int MR.Const_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 <table border=0> <caption id="TriangulationParameters::numNeighbours_examples"></caption> <tr> <td>
"Good" width = 350cm </td>
<td>
"Too small value" width = 350cm </td>
</tr> </table>

◆ radius

unsafe float MR.Const_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

unsafe MR.? Const_PointCloud MR.Const_TriangulationParameters.searchNeighbors
get

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: