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

#include <MRMesh/MRMeshOrPoints.h>

Public Member Functions

 operator bool () const
bool valid () const

Public Attributes

Vector3f point
 found closest point
std::optional< Vector3f > normal
bool isBd = false
 can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region)
float distSq = FLT_MAX
 squared distance from query point to the closest point
VertId closestVert

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