#include <MRClosestWeightedPoint.h>
|  | 
| float | bidirDist () const | 
|  | bidirectional distance from input location to mtp considering point's weight 
 | 
|  | 
| float | dist () const | 
|  | 
| auto | operator<=> (const MeshPointAndDistance &other) const | 
|  | comparison telling which point is closer to the location 
 | 
|  | 
| bool | valid () const | 
|  | check for validity, otherwise there is no point closer than maxBidirDist 
 | 
|  | 
|  | operator bool () const | 
|  | 
◆ bidirDist()
  
  | 
        
          | float MR::MeshPointAndDistance::bidirDist | ( |  | ) | const |  | inlinenodiscard | 
 
bidirectional distance from input location to mtp considering point's weight 
 
 
◆ dist()
  
  | 
        
          | float MR::MeshPointAndDistance::dist | ( |  | ) | const |  | inlinenodiscard | 
 
the distance from input location to mtp considering point's weight and location inside/outside; dist() is continuous function of location unlike innerDist(), which makes 2*weight jump if the location moves through the surface 
 
 
◆ operator bool()
  
  | 
        
          | MR::MeshPointAndDistance::operator bool | ( |  | ) | const |  | inlineexplicitnodiscard | 
 
 
◆ operator<=>()
comparison telling which point is closer to the location 
 
 
◆ valid()
  
  | 
        
          | bool MR::MeshPointAndDistance::valid | ( |  | ) | const |  | inlinenodiscard | 
 
check for validity, otherwise there is no point closer than maxBidirDist 
 
 
◆ bidirectionalOrOutside
      
        
          | bool MR::MeshPointAndDistance::bidirectionalOrOutside = true | 
      
 
either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization 
 
 
◆ eucledeanDist
      
        
          | float MR::MeshPointAndDistance::eucledeanDist = 0 | 
      
 
euclidean distance from input location to mtp 
 
 
◆ loc
      
        
          | Vector3f MR::MeshPointAndDistance::loc | 
      
 
 
◆ mtp
the corresponding point on mesh in barycentric representation 
 
 
      
        
          | float MR::MeshPointAndDistance::w = 0 | 
      
 
 
The documentation for this struct was generated from the following file: