MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::DistanceFromWeightedPointsParams Struct Reference

#include <MRClosestWeightedPoint.h>

+ Inheritance diagram for MR::DistanceFromWeightedPointsParams:

Public Attributes

VertMetric pointWeight
 function returning the weight of each point, must be set by the user
 
float maxWeight = 0
 
float maxWeightGrad = FLT_MAX
 
bool bidirectionalMode = true
 

Member Data Documentation

◆ bidirectionalMode

bool MR::DistanceFromWeightedPointsParams::bidirectionalMode = true

for points, it must always true; for triangles: if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction

◆ maxWeight

float MR::DistanceFromWeightedPointsParams::maxWeight = 0

maximal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm

◆ maxWeightGrad

float MR::DistanceFromWeightedPointsParams::maxWeightGrad = FLT_MAX

maximal magnitude of gradient of points' weight in the cloud, >=0; if maxWeightGrad < 1 then more search optimizations can be done

◆ pointWeight

VertMetric MR::DistanceFromWeightedPointsParams::pointWeight

function returning the weight of each point, must be set by the user


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