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

#include <MRClosestWeightedPoint.h>

+ Inheritance diagram for MR::DistanceFromWeightedPointsComputeParams:

Public Attributes

float minBidirDist = -FLT_MAX
 
float maxBidirDist = FLT_MAX
 find the closest point only if weighted bidirectional distance to it is less than given value
 
- Public Attributes inherited from MR::DistanceFromWeightedPointsParams
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

◆ maxBidirDist

float MR::DistanceFromWeightedPointsComputeParams::maxBidirDist = FLT_MAX

find the closest point only if weighted bidirectional distance to it is less than given value

◆ minBidirDist

float MR::DistanceFromWeightedPointsComputeParams::minBidirDist = -FLT_MAX

stop searching as soon as any point within this weighted distance is found, ignored if bidirectionalMode=false, because in one-directional mode, weighted distance approximation not only decreases


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