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

#include <MRClosestWeightedPoint.h>

Public Member Functions

bool valid () const
 check for validity, otherwise there is no point closer than maxDistance
 
 operator bool () const
 

Public Attributes

VertId vId
 a cloud's point
 
float dist = 0
 the distance from input location to point vId considering point's weight
 

Member Function Documentation

◆ operator bool()

MR::PointAndDistance::operator bool ( ) const
inlineexplicitnodiscard

◆ valid()

bool MR::PointAndDistance::valid ( ) const
inlinenodiscard

check for validity, otherwise there is no point closer than maxDistance

Member Data Documentation

◆ dist

float MR::PointAndDistance::dist = 0

the distance from input location to point vId considering point's weight

◆ vId

VertId MR::PointAndDistance::vId

a cloud's point


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