#include "MRMeshFwd.h"
#include "MRMeshProject.h"
#include <cfloat>
#include <optional>
Go to the source code of this file.
|
MRMESH_API std::optional< VertScalars > | MR::computeRayThicknessAtVertices (const Mesh &mesh, const ProgressCallback &progress={}) |
| returns the distance from each vertex along minus normal to the nearest mesh intersection (or FLT_MAX if no intersection found)
|
|
MRMESH_API VertScalars | MR::computeThicknessAtVertices (const Mesh &mesh) |
|
MRMESH_API MeshIntersectionResult | MR::rayInsideIntersect (const Mesh &mesh, const MeshPoint &m, float rayEnd=FLT_MAX) |
| returns the nearest intersection between the mesh and the ray from given point along minus normal (inside the mesh)
|
|
MRMESH_API MeshIntersectionResult | MR::rayInsideIntersect (const Mesh &mesh, VertId v, float rayEnd=FLT_MAX) |
|
MRMESH_API InSphere | MR::findInSphere (const Mesh &mesh, const MeshPoint &m, const InSphereSearchSettings &settings) |
| finds maximal sphere inscribed in the mesh touching point (p) with center along the normal at (p)
|
|
MRMESH_API InSphere | MR::findInSphere (const Mesh &mesh, VertId v, const InSphereSearchSettings &settings) |
|
MRMESH_API std::optional< VertScalars > | MR::computeInSphereThicknessAtVertices (const Mesh &mesh, const InSphereSearchSettings &settings, const ProgressCallback &progress={}) |
| returns the thickness at each vertex as the diameter of the maximal inscribed sphere
|
|