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

Parameters of point cloud triangulation. More...

+ Inheritance diagram for MR.TriangulationParameters:

Public Member Functions

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

Properties

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)
 

Detailed Description

Parameters of point cloud triangulation.

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

Constructor & Destructor Documentation

◆ 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

Constructs MR.TriangulationParameters elementwise.

◆ TriangulationParameters() [3/4]

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

Generated from constructor MR.TriangulationParameters.TriangulationParameters.

◆ TriangulationParameters() [4/4]

MR.TriangulationParameters.TriangulationParameters ( TriangulationParameters _other)
inline

Generated from constructor MR.TriangulationParameters.TriangulationParameters.

Member Function Documentation

◆ assign()

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

Generated from method MR.TriangulationParameters.operator=.

Property Documentation

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