MeshLib C# Docs
Loading...
Searching...
No Matches
MR.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 non-const half of the class. More...

+ Inheritance diagram for MR.FastWindingNumber:

Public Member Functions

unsafe FastWindingNumber (MR._ByValue_FastWindingNumber _other)
 Generated from constructor MR.FastWindingNumber.FastWindingNumber.
 
 FastWindingNumber (Const_FastWindingNumber _other)
 Generated from constructor MR.FastWindingNumber.FastWindingNumber.
 
 FastWindingNumber (FastWindingNumber _other)
 Generated from constructor MR.FastWindingNumber.FastWindingNumber.
 
unsafe 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.
 
unsafe void calcFromVector (MR.Std.Vector_Float res, MR.Std.Const_Vector_MRVector3f points, float beta, MR.FaceId skipFace, MR.Std.Const_Function_BoolFuncFromFloat cb)
 Generated from method MR.FastWindingNumber.calcFromVector.
 
unsafe void calcSelfIntersections (MR.FaceBitSet res, float beta, MR.Std.Const_Function_BoolFuncFromFloat cb)
 Generated from method MR.FastWindingNumber.calcSelfIntersections.
 
unsafe void calcFromGrid (MR.Std.Vector_Float res, in MR.Vector3i dims, in MR.AffineXf3f gridToMeshXf, float beta, MR.Std.Const_Function_BoolFuncFromFloat cb)
 Generated from method MR.FastWindingNumber.calcFromGrid.
 
unsafe float calcWithDistances (in MR.Vector3f p, MR.Const_DistanceToMeshOptions options)
 Generated from method MR.FastWindingNumber.calcWithDistances.
 
unsafe void calcFromGridWithDistances (MR.Std.Vector_Float res, in MR.Vector3i dims, in MR.AffineXf3f gridToMeshXf, MR.Const_DistanceToMeshOptions options, MR.Std.Const_Function_BoolFuncFromFloat cb)
 Generated from method MR.FastWindingNumber.calcFromGridWithDistances.
 

Static Public Member Functions

static unsafe implicit operator MR.IFastWindingNumber (FastWindingNumber self)
 
static unsafe operator FastWindingNumber? (MR.IFastWindingNumber parent)
 
static unsafe implicit operator 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.
 

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 non-const half of the class.

Constructor & Destructor Documentation

◆ FastWindingNumber() [1/4]

unsafe MR.FastWindingNumber.FastWindingNumber ( MR._ByValue_FastWindingNumber _other)
inline

Generated from constructor MR.FastWindingNumber.FastWindingNumber.

◆ FastWindingNumber() [2/4]

MR.FastWindingNumber.FastWindingNumber ( Const_FastWindingNumber _other)
inline

Generated from constructor MR.FastWindingNumber.FastWindingNumber.

◆ FastWindingNumber() [3/4]

MR.FastWindingNumber.FastWindingNumber ( FastWindingNumber _other)
inline

Generated from constructor MR.FastWindingNumber.FastWindingNumber.

◆ FastWindingNumber() [4/4]

unsafe MR.FastWindingNumber.FastWindingNumber ( MR.Const_Mesh mesh)
inline

constructs this from AABB tree of given mesh; this remains valid only if tree is valid Generated from constructor MR.FastWindingNumber.FastWindingNumber.

Member Function Documentation

◆ calcFromGrid()

unsafe void MR.FastWindingNumber.calcFromGrid ( MR.Std.Vector_Float res,
in MR.Vector3i dims,
in MR.AffineXf3f gridToMeshXf,
float beta,
MR.Std.Const_Function_BoolFuncFromFloat cb )
inline

Generated from method MR.FastWindingNumber.calcFromGrid.

◆ calcFromGridWithDistances()

unsafe void MR.FastWindingNumber.calcFromGridWithDistances ( MR.Std.Vector_Float res,
in MR.Vector3i dims,
in MR.AffineXf3f gridToMeshXf,
MR.Const_DistanceToMeshOptions options,
MR.Std.Const_Function_BoolFuncFromFloat cb )
inline

◆ calcFromVector()

unsafe void MR.FastWindingNumber.calcFromVector ( MR.Std.Vector_Float res,
MR.Std.Const_Vector_MRVector3f points,
float beta,
MR.FaceId skipFace,
MR.Std.Const_Function_BoolFuncFromFloat cb )
inline

Generated from method MR.FastWindingNumber.calcFromVector.

◆ calcSelfIntersections()

unsafe void MR.FastWindingNumber.calcSelfIntersections ( MR.FaceBitSet res,
float beta,
MR.Std.Const_Function_BoolFuncFromFloat cb )
inline

◆ calcWithDistances()

unsafe float MR.FastWindingNumber.calcWithDistances ( in MR.Vector3f p,
MR.Const_DistanceToMeshOptions options )
inline

◆ operator FastWindingNumber()

static unsafe implicit MR.FastWindingNumber.operator FastWindingNumber ( MR.Const_Mesh mesh)
inlinestatic

constructs this from AABB tree of given mesh; this remains valid only if tree is valid Generated from constructor MR.FastWindingNumber.FastWindingNumber.

◆ operator FastWindingNumber?()

static unsafe MR.FastWindingNumber.operator FastWindingNumber? ( MR.IFastWindingNumber parent)
inlineexplicitstatic

◆ operator MR.IFastWindingNumber()

static unsafe implicit MR.FastWindingNumber.operator MR.IFastWindingNumber ( FastWindingNumber self)
inlinestatic

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