MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_TriangulationParameters Class Reference

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.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe int numNeighbours [get]
 The number of nearest neighbor points to use for building of local triangulation.
 
unsafe float radius [get]
 
unsafe float critAngle [get]
 Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)
 
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)
 
- Properties inherited from MR.Misc.Object< Const_TriangulationParameters >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_TriangulationParameters >
bool _IsOwningVal
 

Detailed Description

Parameters of point cloud triangulation.

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

Property Documentation

◆ 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)

Good
Too small value

◆ 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
Good
Too small value

◆ 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.


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