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

Public Member Functions

 PointsToMeshParameters ()

Public Attributes

number sigma
number minWeight
 minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity
number invSigmaModifier
boolean sqrtAngleWeight
number voxelSize

Constructor & Destructor Documentation

◆ PointsToMeshParameters()

PointsToMeshParameters::PointsToMeshParameters ( )

Member Data Documentation

◆ invSigmaModifier

number PointsToMeshParameters::invSigmaModifier

coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf)

◆ minWeight

number PointsToMeshParameters::minWeight

minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity

◆ sigma

number PointsToMeshParameters::sigma

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero

◆ sqrtAngleWeight

boolean PointsToMeshParameters::sqrtAngleWeight

changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign)

◆ voxelSize

number PointsToMeshParameters::voxelSize

Size of voxel in grid conversions; The user is responsible for setting some positive value here


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