Static Public Member Functions | |
| static auto | construct_from_another (_other:&meshlib::FastWindingNumber) -> meshlib::Owned< meshlib::FastWindingNumber > |
| static auto | construct (mesh:&meshlib::Mesh) -> meshlib::Owned< meshlib::FastWindingNumber > |
| static auto | static_downcast_from_i_fast_winding_number (object:&meshlib::IFastWindingNumber) -> &Self |
| static auto | static_downcast_from_i_fast_winding_number_mut (object:&mut meshlib::IFastWindingNumber) -> &mut Self |
| static auto | dynamic_downcast_from_i_fast_winding_number (object:&meshlib::IFastWindingNumber) -> Option<&Self > |
| static auto | dynamic_downcast_from_i_fast_winding_number_mut (object:&mut meshlib::IFastWindingNumber) -> Option<&mut Self > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
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
Generated from class MR::FastWindingNumber. Heap-allocated instances are held in Owned<FastWindingNumber>.
| auto meshlib::FastWindingNumber::calc_from_grid | ( | res:&mut meshlib::std_vector_float | , |
| dims:&meshlib::Vector3i | , | ||
| gridToMeshXf:&meshlib::AffineXf3f | , | ||
| beta:f32 | , | ||
| cb:&meshlib::std_function_bool_from_float | ) -> meshlib::Owned< meshlib::expected_void_std_string > |
Generated from method MR::FastWindingNumber::calcFromGrid.
Calls MR_FastWindingNumber_calcFromGrid().
| auto meshlib::FastWindingNumber::calc_from_grid_with_distances | ( | res:&mut meshlib::VoxelScalars | , |
| dims:&meshlib::Vector3i | , | ||
| gridToMeshXf:&meshlib::AffineXf3f | , | ||
| options:&meshlib::DistanceToMeshOptions | , | ||
| cb:&meshlib::std_function_bool_from_float | ) -> meshlib::Owned< meshlib::expected_void_std_string > |
Generated from method MR::FastWindingNumber::calcFromGridWithDistances.
Calls MR_FastWindingNumber_calcFromGridWithDistances().
| auto meshlib::FastWindingNumber::calc_from_vector | ( | res:&mut meshlib::std_vector_float | , |
| points:&meshlib::std_vector_MR_Vector3f | , | ||
| beta:f32 | , | ||
| skipFace:meshlib::FaceId | , | ||
| cb:&meshlib::std_function_bool_from_float | ) -> meshlib::Owned< meshlib::expected_void_std_string > |
see methods' descriptions in IFastWindingNumber Generated from method MR::FastWindingNumber::calcFromVector.
Calls MR_FastWindingNumber_calcFromVector().
| auto meshlib::FastWindingNumber::calc_self_intersections | ( | res:&mut meshlib::FaceBitSet | , |
| beta:f32 | , | ||
| cb:&meshlib::std_function_bool_from_float | ) -> meshlib::Owned< meshlib::expected_void_std_string > |
Generated from method MR::FastWindingNumber::calcSelfIntersections.
Calls MR_FastWindingNumber_calcSelfIntersections().
| auto meshlib::FastWindingNumber::calc_with_distances | ( | p:&meshlib::Vector3f | , |
| options:&meshlib::DistanceToMeshOptions | ) -> f32 |
Generated from method MR::FastWindingNumber::calcWithDistances.
Calls MR_FastWindingNumber_calcWithDistances().
|
static |
constructs this from AABB tree of given mesh; this remains valid only if tree is valid Generated from constructor MR::FastWindingNumber::FastWindingNumber.
Calls MR_FastWindingNumber_Construct(). The reference to the parameter mesh might be preserved in the constructed object.
|
static |
Generated from constructor MR::FastWindingNumber::FastWindingNumber.
Calls MR_FastWindingNumber_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Dynamic downcast from the base class MR::IFastWindingNumber. Returns None if the object isn't actually a FastWindingNumber.
Calls MR_FastWindingNumber_DynamicDowncastFrom_MR_IFastWindingNumber().
|
static |
Dynamic downcast from the base class MR::IFastWindingNumber. Returns None if the object isn't actually a FastWindingNumber.
Calls MR_FastWindingNumber_MutableDynamicDowncastFrom_MR_IFastWindingNumber().
|
static |
Static downcast from the base class MR::IFastWindingNumber.
Calls MR_FastWindingNumber_StaticDowncastFrom_MR_IFastWindingNumber(). Undefined behavior if the object isn't actually a FastWindingNumber.
|
static |
Static downcast from the base class MR::IFastWindingNumber.
Calls MR_FastWindingNumber_MutableStaticDowncastFrom_MR_IFastWindingNumber(). Undefined behavior if the object isn't actually a FastWindingNumber.
| auto meshlib::FastWindingNumber::upcast_to_i_fast_winding_number | ( | ) | const -> &meshlib::IFastWindingNumber |
Upcasts to the base class MR::IFastWindingNumber.
Calls MR_FastWindingNumber_UpcastTo_MR_IFastWindingNumber().
| auto meshlib::FastWindingNumber::upcast_to_i_fast_winding_number_mut | ( | ) | -> &mut meshlib::IFastWindingNumber |
Upcasts to the base class MR::IFastWindingNumber.
Calls MR_FastWindingNumber_MutableUpcastTo_MR_IFastWindingNumber().