MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstFastWindingNumber Class Reference
Inheritance diagram for mrmeshpy.ConstFastWindingNumber:

Public Member Functions

 __init__ (self, *args, **kwargs)

Detailed Description

Generated from:  MR::FastWindingNumber

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")]]`.

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstFastWindingNumber.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstFastWindingNumber, mesh: meshlib.mrmeshpy.ConstMesh) -> None

constructs this from AABB tree of given mesh;
this remains valid only if tree is valid

2. __init__(self: meshlib.mrmeshpy.ConstFastWindingNumber, arg0: meshlib.mrmeshpy.ConstFastWindingNumber) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstFastWindingNumber, : meshlib.mrmeshpy.ConstFastWindingNumber) -> None

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