MeshLib JavaScript Docs
Loading...
Searching...
No Matches
TriangulationParameters Class Reference

Parameters of point cloud triangulation. More...

Public Member Functions

 TriangulationParameters ()

Public Attributes

number numNeighbours
 The number of nearest neighbor points to use for building of local triangulation.
number radius
number critAngle
 Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)
number critHoleLength
 Critical length of hole (all holes with length less then this value will be filled)
boolean automaticRadiusIncrease
 automatic increase of the radius if points outside can make triangles from original radius not-Delone

Detailed Description

Parameters of point cloud triangulation.

See also
triangulatePointCloud

Constructor & Destructor Documentation

◆ TriangulationParameters()

TriangulationParameters::TriangulationParameters ( )

Member Data Documentation

◆ automaticRadiusIncrease

boolean TriangulationParameters::automaticRadiusIncrease

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

◆ critAngle

number TriangulationParameters::critAngle

Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)

◆ critHoleLength

number TriangulationParameters::critHoleLength

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

number TriangulationParameters::numNeighbours

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

◆ radius

number TriangulationParameters::radius

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: