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

options determining computation of signed distance from a point to a mesh More...

#include <MRDistanceToMeshOptions.h>

+ Inheritance diagram for MR::SignedDistanceToMeshOptions:

Public Attributes

SignDetectionMode signMode { SignDetectionMode::ProjectionNormal }
 the method to compute distance sign
 
- Public Attributes inherited from MR::DistanceToMeshOptions
float minDistSq { 0 }
 minimum squared distance from a point to mesh to be computed precisely
 
float maxDistSq { FLT_MAX }
 maximum squared distance from a point to mesh to be computed precisely
 
bool nullOutsideMinMax = true
 
float windingNumberThreshold = 0.5f
 
float windingNumberBeta = 2
 

Detailed Description

options determining computation of signed distance from a point to a mesh

Member Data Documentation

◆ signMode

SignDetectionMode MR::SignedDistanceToMeshOptions::signMode { SignDetectionMode::ProjectionNormal }

the method to compute distance sign


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