MeshLib Documentation
Loading...
Searching...
No Matches
MR::SignedDistanceToMeshResult Struct Reference

#include <MRMeshProject.h>

Public Attributes

PointOnFace proj
 the closest point on mesh
 
MeshTriPoint mtp
 its barycentric representation
 
float dist = 0
 distance from pt to proj (positive - outside, negative - inside the mesh)
 

Member Data Documentation

◆ dist

float MR::SignedDistanceToMeshResult::dist = 0

distance from pt to proj (positive - outside, negative - inside the mesh)

◆ mtp

MeshTriPoint MR::SignedDistanceToMeshResult::mtp

its barycentric representation

◆ proj

PointOnFace MR::SignedDistanceToMeshResult::proj

the closest point on mesh


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