MeshLib C Docs
Loading...
Searching...
No Matches
MRSignDetectionMode.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdint.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11
13typedef int32_t MR_SignDetectionMode;
14enum // MR_SignDetectionMode
15{
28};
29
32enum // MR_SignDetectionModeShort
33{
40};
41
45
46#ifdef __cplusplus
47} // extern "C"
48#endif
int32_t MR_SignDetectionMode
how to determine the sign of distances from a mesh
Definition MRSignDetectionMode.h:13
int32_t MR_SignDetectionModeShort
how to determine the sign of distances from a mesh, short version including auto-detection
Definition MRSignDetectionMode.h:31
MRC_API const char * MR_asString_MR_SignDetectionMode(MR_SignDetectionMode m)
@ MR_SignDetectionModeShort_Auto
automatic selection of the fastest method among safe options for the current mesh
Definition MRSignDetectionMode.h:35
@ MR_SignDetectionModeShort_HoleWindingNumber
detects sign from the pseudonormal in closest mesh point, which is fast but unsafe in the presence of...
Definition MRSignDetectionMode.h:37
@ MR_SignDetectionModeShort_ProjectionNormal
Definition MRSignDetectionMode.h:39
@ MR_SignDetectionMode_ProjectionNormal
the sign is determined based on pseudonormal in closest mesh point (unsafe in case of self-intersecti...
Definition MRSignDetectionMode.h:21
@ MR_SignDetectionMode_OpenVDB
sign detection from OpenVDB library, which is good and fast if input geometry is closed
Definition MRSignDetectionMode.h:19
@ MR_SignDetectionMode_HoleWindingRule
Definition MRSignDetectionMode.h:27
@ MR_SignDetectionMode_WindingRule
Definition MRSignDetectionMode.h:24
@ MR_SignDetectionMode_Unsigned
unsigned distance, useful for bidirectional Shell offset
Definition MRSignDetectionMode.h:17
#define MRC_API
Definition exports.h:11