MeshLib Documentation
Loading...
Searching...
No Matches
MRMesh/MRSignDetectionMode.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
5namespace MR
6{
7
17
19[[nodiscard]] MRMESH_API const char * asString( SignDetectionMode m );
20
28
29} //namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:8
SignDetectionMode
how to determine the sign of distances from a mesh
Definition MRMesh/MRSignDetectionMode.h:10
@ OpenVDB
sign detection from OpenVDB library, which is good and fast if input geometry is closed
@ WindingRule
ray intersection counter, significantly slower than ProjectionNormal and does not support holes in me...
@ ProjectionNormal
the sign is determined based on pseudonormal in closest mesh point (unsafe in case of self-intersecti...
@ HoleWindingRule
computes winding number generalization with support of holes in mesh, slower than WindingRule
@ Unsigned
unsigned distance, useful for bidirectional Shell offset
SignDetectionModeShort
how to determine the sign of distances from a mesh, short version including auto-detection
Definition MRMesh/MRSignDetectionMode.h:23
@ Auto
automatic selection of the fastest method among safe options for the current mesh
@ HoleWindingNumber
detects sign from the winding number generalization with support for holes and self-intersections in ...
MRMESH_API const char * asString(SignDetectionMode m)
returns string representation of enum values