MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshPointAndDistance 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

MeshTriPoint mtp
 a point on mesh in barycentric representation
 
float dist = 0
 the distance from input location to mtp considering point's weight
 

Member Function Documentation

◆ operator bool()

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

◆ valid()

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

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

Member Data Documentation

◆ dist

float MR::MeshPointAndDistance::dist = 0

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

◆ mtp

MeshTriPoint MR::MeshPointAndDistance::mtp

a point on mesh in barycentric representation


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