MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_FastWindingNumber Class Reference

the class for fast approximate computation of winding number for a mesh (using its AABB tree) Note, this used to be [[nodiscard]], but GCC 12 doesn't understand both [[...]] and __attribute__(...) on the same class. A possible fix is to change MRMESH_CLASS globally to [[__gnu__.__visibility__("default")]]. Generated from class MR.FastWindingNumber. Base classes: Direct: (non-virtual) MR.IFastWindingNumber This is the const half of the class. More...

+ Inheritance diagram for MR.Const_FastWindingNumber:

Classes

struct  _Underlying
 
struct  _UnderlyingShared
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_FastWindingNumber (MR._ByValue_FastWindingNumber _other)
 Generated from constructor MR.FastWindingNumber.FastWindingNumber.
 
unsafe Const_FastWindingNumber (MR.Const_Mesh mesh)
 constructs this from AABB tree of given mesh; this remains valid only if tree is valid Generated from constructor MR.FastWindingNumber.FastWindingNumber.
 

Static Public Member Functions

static unsafe implicit operator MR.Const_IFastWindingNumber (Const_FastWindingNumber self)
 
static unsafe operator Const_FastWindingNumber? (MR.Const_IFastWindingNumber parent)
 
static unsafe implicit operator Const_FastWindingNumber (MR.Const_Mesh mesh)
 constructs this from AABB tree of given mesh; this remains valid only if tree is valid Generated from constructor MR.FastWindingNumber.FastWindingNumber.
 

Protected Member Functions

unsafe void _LateMakeShared (_Underlying *ptr)
 
virtual unsafe void Dispose (bool disposing)
 

Properties

override unsafe bool _IsOwning [get]
 Check if the underlying shared pointer is owning or not.
 
- Properties inherited from MR.Misc.SharedObject< Const_FastWindingNumber >
override bool _IsOwning [get]
 This checks if the shared_ptr itself is owning or not, rather than whether we own our shared_ptr, which isn't a given. The derived classes have to implement this, since it depends on the specific shared_ptr type.
 
bool _IsOwningSharedPtr [get]
 This checks if we own the underlying shared_ptr instance, regardless of whether it owns the underlying object, which is orthogonal. We repurpose _IsOwningVal for this.
 

Detailed Description

the class for fast approximate computation of winding number for a mesh (using its AABB tree) Note, this used to be [[nodiscard]], but GCC 12 doesn't understand both [[...]] and __attribute__(...) on the same class. A possible fix is to change MRMESH_CLASS globally to [[__gnu__.__visibility__("default")]]. Generated from class MR.FastWindingNumber. Base classes: Direct: (non-virtual) MR.IFastWindingNumber This is the const half of the class.


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