MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::RebuildMeshSettings Struct Reference
Inheritance diagram for meshlib::RebuildMeshSettings:

Public Member Functions

auto assign_from_another (_other:&meshlib::RebuildMeshSettings) -> &mut meshlib::RebuildMeshSettings
auto pre_subdivide () const -> &bool
auto pre_subdivide_mut () -> &mut bool
void set_pre_subdivide (value:bool)
auto voxel_size () const -> &f32
auto voxel_size_mut () -> &mut f32
void set_voxel_size (value:f32)
auto sign_mode () const -> &meshlib::SignDetectionModeShort
auto sign_mode_mut () -> &mut meshlib::SignDetectionModeShort
void set_sign_mode (value:meshlib::SignDetectionModeShort)
auto close_holes_in_hole_winding_number () const -> &bool
auto close_holes_in_hole_winding_number_mut () -> &mut bool
void set_close_holes_in_hole_winding_number (value:bool)
auto offset_mode () const -> &meshlib::OffsetMode
auto offset_mode_mut () -> &mut meshlib::OffsetMode
void set_offset_mode (value:meshlib::OffsetMode)
auto out_sharp_edges () const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet
auto out_sharp_edges_mut () -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet
void set_out_sharp_edges (value:Option<&mut meshlib::UndirectedEdgeBitSet >)
auto winding_number_threshold () const -> &f32
auto winding_number_threshold_mut () -> &mut f32
void set_winding_number_threshold (value:f32)
auto winding_number_beta () const -> &f32
auto winding_number_beta_mut () -> &mut f32
void set_winding_number_beta (value:f32)
auto fwn () const -> &meshlib::std_shared_ptr_MR_IFastWindingNumber
auto fwn_mut () -> &mut meshlib::std_shared_ptr_MR_IFastWindingNumber
void set_fwn (value:&meshlib::std_shared_ptr_MR_IFastWindingNumber)
auto reduce_angle_num_iters () const -> &core::ffi::c_int
auto reduce_angle_num_iters_mut () -> &mut core::ffi::c_int
void set_reduce_angle_num_iters (value:core::ffi::c_int)
auto decimate () const -> &bool
auto decimate_mut () -> &mut bool
void set_decimate (value:bool)
auto tiny_edge_length () const -> &f32
auto tiny_edge_length_mut () -> &mut f32
void set_tiny_edge_length (value:f32)
auto progress () const -> &meshlib::std_function_bool_from_float
auto progress_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress (value:&meshlib::std_function_bool_from_float)
auto on_sign_detection_mode_selected () const -> &meshlib::std_function_void_from_MR_SignDetectionMode
auto on_sign_detection_mode_selected_mut () -> &mut meshlib::std_function_void_from_MR_SignDetectionMode
void set_on_sign_detection_mode_selected (value:&meshlib::std_function_void_from_MR_SignDetectionMode)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::RebuildMeshSettings >
static auto construct_from (preSubdivide:bool, voxelSize:f32, signMode:meshlib::SignDetectionModeShort, closeHolesInHoleWindingNumber:bool, offsetMode:meshlib::OffsetMode, outSharpEdges:Option<&mut meshlib::UndirectedEdgeBitSet >, windingNumberThreshold:f32, windingNumberBeta:f32, fwn:&meshlib::std_shared_ptr_MR_IFastWindingNumber, reduceAngleNumIters:core::ffi::c_int, decimate:bool, tinyEdgeLength:f32, progress:&meshlib::std_function_bool_from_float, onSignDetectionModeSelected:&meshlib::std_function_void_from_MR_SignDetectionMode) -> meshlib::Owned< meshlib::RebuildMeshSettings >
static auto construct_from_another (_other:&meshlib::RebuildMeshSettings) -> meshlib::Owned< meshlib::RebuildMeshSettings >
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

Detailed Description

Generated from class MR::RebuildMeshSettings.

Generated from class MR::RebuildMeshSettings. Heap-allocated instances are held in Owned<RebuildMeshSettings>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::RebuildMeshSettings::assign_from_another ( _other:&meshlib::RebuildMeshSettings ) -> &mut meshlib::RebuildMeshSettings

Generated from method MR::RebuildMeshSettings::operator=.

Calls MR_RebuildMeshSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ close_holes_in_hole_winding_number()

auto meshlib::RebuildMeshSettings::close_holes_in_hole_winding_number ( ) const -> &bool

whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber Returns a pointer to a member variable of class MR::RebuildMeshSettings named closeHolesInHoleWindingNumber.

Calls MR_RebuildMeshSettings_Get_closeHolesInHoleWindingNumber(). The reference to this object might be preserved as the return value.

◆ close_holes_in_hole_winding_number_mut()

auto meshlib::RebuildMeshSettings::close_holes_in_hole_winding_number_mut ( ) -> &mut bool

whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named closeHolesInHoleWindingNumber.

Calls MR_RebuildMeshSettings_GetMutable_closeHolesInHoleWindingNumber(). The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::RebuildMeshSettings::construct_from ( preSubdivide:bool ,
voxelSize:f32 ,
signMode:meshlib::SignDetectionModeShort ,
closeHolesInHoleWindingNumber:bool ,
offsetMode:meshlib::OffsetMode ,
outSharpEdges:Option<&mut meshlib::UndirectedEdgeBitSet > ,
windingNumberThreshold:f32 ,
windingNumberBeta:f32 ,
fwn:&meshlib::std_shared_ptr_MR_IFastWindingNumber ,
reduceAngleNumIters:core::ffi::c_int ,
decimate:bool ,
tinyEdgeLength:f32 ,
progress:&meshlib::std_function_bool_from_float ,
onSignDetectionModeSelected:&meshlib::std_function_void_from_MR_SignDetectionMode  ) -> meshlib::Owned< meshlib::RebuildMeshSettings >
static

Constructs MR::RebuildMeshSettings elementwise.

Calls MR_RebuildMeshSettings_ConstructFrom(). The reference to the parameter signMode might be preserved in the constructed object. The reference to the parameter offsetMode might be preserved in the constructed object. The reference to the parameter outSharpEdges might be preserved in the constructed object. The reference to the parameter fwn might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. The reference to the parameter onSignDetectionModeSelected might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::RebuildMeshSettings::construct_from_another ( _other:&meshlib::RebuildMeshSettings ) -> meshlib::Owned< meshlib::RebuildMeshSettings >
static

Generated from constructor MR::RebuildMeshSettings::RebuildMeshSettings.

Calls MR_RebuildMeshSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ decimate()

auto meshlib::RebuildMeshSettings::decimate ( ) const -> &bool

whether to decimate resulting mesh Returns a pointer to a member variable of class MR::RebuildMeshSettings named decimate.

Calls MR_RebuildMeshSettings_Get_decimate(). The reference to this object might be preserved as the return value.

◆ decimate_mut()

auto meshlib::RebuildMeshSettings::decimate_mut ( ) -> &mut bool

whether to decimate resulting mesh Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named decimate.

Calls MR_RebuildMeshSettings_GetMutable_decimate(). The reference to this object might be preserved as the return value.

◆ fwn()

auto meshlib::RebuildMeshSettings::fwn ( ) const -> &meshlib::std_shared_ptr_MR_IFastWindingNumber

defines particular implementation of IFastWindingNumber interface that will compute windings (if required). If it is not specified, default FastWindingNumber is used Returns a pointer to a member variable of class MR::RebuildMeshSettings named fwn.

Calls MR_RebuildMeshSettings_Get_fwn(). The reference to this object might be preserved as the return value.

◆ fwn_mut()

auto meshlib::RebuildMeshSettings::fwn_mut ( ) -> &mut meshlib::std_shared_ptr_MR_IFastWindingNumber

defines particular implementation of IFastWindingNumber interface that will compute windings (if required). If it is not specified, default FastWindingNumber is used Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named fwn.

Calls MR_RebuildMeshSettings_GetMutable_fwn(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::RebuildMeshSettings::new ( ) -> meshlib::Owned< meshlib::RebuildMeshSettings >
static

Constructs an empty (default-constructed) instance.

Calls MR_RebuildMeshSettings_DefaultConstruct().

◆ offset_mode()

auto meshlib::RebuildMeshSettings::offset_mode ( ) const -> &meshlib::OffsetMode

Returns a pointer to a member variable of class MR::RebuildMeshSettings named offsetMode.

Calls MR_RebuildMeshSettings_Get_offsetMode(). The reference to this object might be preserved as the return value.

◆ offset_mode_mut()

auto meshlib::RebuildMeshSettings::offset_mode_mut ( ) -> &mut meshlib::OffsetMode

Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named offsetMode.

Calls MR_RebuildMeshSettings_GetMutable_offsetMode(). The reference to this object might be preserved as the return value.

◆ on_sign_detection_mode_selected()

auto meshlib::RebuildMeshSettings::on_sign_detection_mode_selected ( ) const -> &meshlib::std_function_void_from_MR_SignDetectionMode

this callback is invoked when SignDetectionMode is determined (useful if signMode = SignDetectionModeShort::Auto), but before actual work begins Returns a pointer to a member variable of class MR::RebuildMeshSettings named onSignDetectionModeSelected.

Calls MR_RebuildMeshSettings_Get_onSignDetectionModeSelected(). The reference to this object might be preserved as the return value.

◆ on_sign_detection_mode_selected_mut()

auto meshlib::RebuildMeshSettings::on_sign_detection_mode_selected_mut ( ) -> &mut meshlib::std_function_void_from_MR_SignDetectionMode

this callback is invoked when SignDetectionMode is determined (useful if signMode = SignDetectionModeShort::Auto), but before actual work begins Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named onSignDetectionModeSelected.

Calls MR_RebuildMeshSettings_GetMutable_onSignDetectionModeSelected(). The reference to this object might be preserved as the return value.

◆ out_sharp_edges()

auto meshlib::RebuildMeshSettings::out_sharp_edges ( ) const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet

if non-null then created sharp edges (only if offsetMode = OffsetMode::Sharpening) will be saved here Returns a pointer to a member variable of class MR::RebuildMeshSettings named outSharpEdges.

Calls MR_RebuildMeshSettings_Get_outSharpEdges(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ out_sharp_edges_mut()

auto meshlib::RebuildMeshSettings::out_sharp_edges_mut ( ) -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet

if non-null then created sharp edges (only if offsetMode = OffsetMode::Sharpening) will be saved here Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named outSharpEdges.

Calls MR_RebuildMeshSettings_GetMutable_outSharpEdges(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ pre_subdivide()

auto meshlib::RebuildMeshSettings::pre_subdivide ( ) const -> &bool

whether to make subdivision of initial mesh before conversion to voxels, despite time and memory required for the subdivision, it typically makes the whole rebuilding faster (or even much faster in case of large initial triangles), because AABB tree contains small triangles in leaves, which is good for both 1) search for closest triangle because the closest box more frequently contains the closest triangle, 2) and winding number approximation because of more frequent usage of approximation for distant dipoles Returns a pointer to a member variable of class MR::RebuildMeshSettings named preSubdivide.

Calls MR_RebuildMeshSettings_Get_preSubdivide(). The reference to this object might be preserved as the return value.

◆ pre_subdivide_mut()

auto meshlib::RebuildMeshSettings::pre_subdivide_mut ( ) -> &mut bool

whether to make subdivision of initial mesh before conversion to voxels, despite time and memory required for the subdivision, it typically makes the whole rebuilding faster (or even much faster in case of large initial triangles), because AABB tree contains small triangles in leaves, which is good for both 1) search for closest triangle because the closest box more frequently contains the closest triangle, 2) and winding number approximation because of more frequent usage of approximation for distant dipoles Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named preSubdivide.

Calls MR_RebuildMeshSettings_GetMutable_preSubdivide(). The reference to this object might be preserved as the return value.

◆ progress()

auto meshlib::RebuildMeshSettings::progress ( ) const -> &meshlib::std_function_bool_from_float

To report algorithm's progress and cancel it on user demand Returns a pointer to a member variable of class MR::RebuildMeshSettings named progress.

Calls MR_RebuildMeshSettings_Get_progress(). The reference to this object might be preserved as the return value.

◆ progress_mut()

auto meshlib::RebuildMeshSettings::progress_mut ( ) -> &mut meshlib::std_function_bool_from_float

To report algorithm's progress and cancel it on user demand Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named progress.

Calls MR_RebuildMeshSettings_GetMutable_progress(). The reference to this object might be preserved as the return value.

◆ reduce_angle_num_iters()

auto meshlib::RebuildMeshSettings::reduce_angle_num_iters ( ) const -> &core::ffi::c_int

the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles Returns a pointer to a member variable of class MR::RebuildMeshSettings named reduceAngleNumIters.

Calls MR_RebuildMeshSettings_Get_reduceAngleNumIters(). The reference to this object might be preserved as the return value.

◆ reduce_angle_num_iters_mut()

auto meshlib::RebuildMeshSettings::reduce_angle_num_iters_mut ( ) -> &mut core::ffi::c_int

the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named reduceAngleNumIters.

Calls MR_RebuildMeshSettings_GetMutable_reduceAngleNumIters(). The reference to this object might be preserved as the return value.

◆ set_close_holes_in_hole_winding_number()

void meshlib::RebuildMeshSettings::set_close_holes_in_hole_winding_number ( value:bool )

whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber Modifies a member variable of class MR::RebuildMeshSettings named closeHolesInHoleWindingNumber.

Calls MR_RebuildMeshSettings_Set_closeHolesInHoleWindingNumber().

◆ set_decimate()

void meshlib::RebuildMeshSettings::set_decimate ( value:bool )

whether to decimate resulting mesh Modifies a member variable of class MR::RebuildMeshSettings named decimate.

Calls MR_RebuildMeshSettings_Set_decimate().

◆ set_fwn()

void meshlib::RebuildMeshSettings::set_fwn ( value:&meshlib::std_shared_ptr_MR_IFastWindingNumber )

defines particular implementation of IFastWindingNumber interface that will compute windings (if required). If it is not specified, default FastWindingNumber is used Modifies a member variable of class MR::RebuildMeshSettings named fwn.

Calls MR_RebuildMeshSettings_Set_fwn(). The reference to the parameter value might be preserved in this object in element fwn.

◆ set_offset_mode()

void meshlib::RebuildMeshSettings::set_offset_mode ( value:meshlib::OffsetMode )

Modifies a member variable of class MR::RebuildMeshSettings named offsetMode.

Calls MR_RebuildMeshSettings_Set_offsetMode(). The reference to the parameter value might be preserved in this object in element offsetMode.

◆ set_on_sign_detection_mode_selected()

void meshlib::RebuildMeshSettings::set_on_sign_detection_mode_selected ( value:&meshlib::std_function_void_from_MR_SignDetectionMode )

this callback is invoked when SignDetectionMode is determined (useful if signMode = SignDetectionModeShort::Auto), but before actual work begins Modifies a member variable of class MR::RebuildMeshSettings named onSignDetectionModeSelected.

Calls MR_RebuildMeshSettings_Set_onSignDetectionModeSelected(). The reference to the parameter value might be preserved in this object in element onSignDetectionModeSelected.

◆ set_out_sharp_edges()

void meshlib::RebuildMeshSettings::set_out_sharp_edges ( value:Option<&mut meshlib::UndirectedEdgeBitSet > )

if non-null then created sharp edges (only if offsetMode = OffsetMode::Sharpening) will be saved here Modifies a member variable of class MR::RebuildMeshSettings named outSharpEdges.

Calls MR_RebuildMeshSettings_Set_outSharpEdges(). The reference to the parameter value might be preserved in this object in element outSharpEdges.

◆ set_pre_subdivide()

void meshlib::RebuildMeshSettings::set_pre_subdivide ( value:bool )

whether to make subdivision of initial mesh before conversion to voxels, despite time and memory required for the subdivision, it typically makes the whole rebuilding faster (or even much faster in case of large initial triangles), because AABB tree contains small triangles in leaves, which is good for both 1) search for closest triangle because the closest box more frequently contains the closest triangle, 2) and winding number approximation because of more frequent usage of approximation for distant dipoles Modifies a member variable of class MR::RebuildMeshSettings named preSubdivide.

Calls MR_RebuildMeshSettings_Set_preSubdivide().

◆ set_progress()

void meshlib::RebuildMeshSettings::set_progress ( value:&meshlib::std_function_bool_from_float )

To report algorithm's progress and cancel it on user demand Modifies a member variable of class MR::RebuildMeshSettings named progress.

Calls MR_RebuildMeshSettings_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.

◆ set_reduce_angle_num_iters()

void meshlib::RebuildMeshSettings::set_reduce_angle_num_iters ( value:core::ffi::c_int )

the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles Modifies a member variable of class MR::RebuildMeshSettings named reduceAngleNumIters.

Calls MR_RebuildMeshSettings_Set_reduceAngleNumIters().

◆ set_sign_mode()

void meshlib::RebuildMeshSettings::set_sign_mode ( value:meshlib::SignDetectionModeShort )

Modifies a member variable of class MR::RebuildMeshSettings named signMode.

Calls MR_RebuildMeshSettings_Set_signMode(). The reference to the parameter value might be preserved in this object in element signMode.

◆ set_tiny_edge_length()

void meshlib::RebuildMeshSettings::set_tiny_edge_length ( value:f32 )

only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio Modifies a member variable of class MR::RebuildMeshSettings named tinyEdgeLength.

Calls MR_RebuildMeshSettings_Set_tinyEdgeLength().

◆ set_voxel_size()

void meshlib::RebuildMeshSettings::set_voxel_size ( value:f32 )

Size of voxel in grid conversions; The user is responsible for setting some positive value here Modifies a member variable of class MR::RebuildMeshSettings named voxelSize.

Calls MR_RebuildMeshSettings_Set_voxelSize().

◆ set_winding_number_beta()

void meshlib::RebuildMeshSettings::set_winding_number_beta ( value:f32 )

if general winding number is used to differentiate inside from outside: determines the precision of fast approximation: the more the better, minimum value is 1 Modifies a member variable of class MR::RebuildMeshSettings named windingNumberBeta.

Calls MR_RebuildMeshSettings_Set_windingNumberBeta().

◆ set_winding_number_threshold()

void meshlib::RebuildMeshSettings::set_winding_number_threshold ( value:f32 )

if general winding number is used to differentiate inside from outside: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Modifies a member variable of class MR::RebuildMeshSettings named windingNumberThreshold.

Calls MR_RebuildMeshSettings_Set_windingNumberThreshold().

◆ sign_mode()

auto meshlib::RebuildMeshSettings::sign_mode ( ) const -> &meshlib::SignDetectionModeShort

Returns a pointer to a member variable of class MR::RebuildMeshSettings named signMode.

Calls MR_RebuildMeshSettings_Get_signMode(). The reference to this object might be preserved as the return value.

◆ sign_mode_mut()

auto meshlib::RebuildMeshSettings::sign_mode_mut ( ) -> &mut meshlib::SignDetectionModeShort

Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named signMode.

Calls MR_RebuildMeshSettings_GetMutable_signMode(). The reference to this object might be preserved as the return value.

◆ tiny_edge_length()

auto meshlib::RebuildMeshSettings::tiny_edge_length ( ) const -> &f32

only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio Returns a pointer to a member variable of class MR::RebuildMeshSettings named tinyEdgeLength.

Calls MR_RebuildMeshSettings_Get_tinyEdgeLength(). The reference to this object might be preserved as the return value.

◆ tiny_edge_length_mut()

auto meshlib::RebuildMeshSettings::tiny_edge_length_mut ( ) -> &mut f32

only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named tinyEdgeLength.

Calls MR_RebuildMeshSettings_GetMutable_tinyEdgeLength(). The reference to this object might be preserved as the return value.

◆ voxel_size()

auto meshlib::RebuildMeshSettings::voxel_size ( ) const -> &f32

Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a pointer to a member variable of class MR::RebuildMeshSettings named voxelSize.

Calls MR_RebuildMeshSettings_Get_voxelSize(). The reference to this object might be preserved as the return value.

◆ voxel_size_mut()

auto meshlib::RebuildMeshSettings::voxel_size_mut ( ) -> &mut f32

Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named voxelSize.

Calls MR_RebuildMeshSettings_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.

◆ winding_number_beta()

auto meshlib::RebuildMeshSettings::winding_number_beta ( ) const -> &f32

if general winding number is used to differentiate inside from outside: determines the precision of fast approximation: the more the better, minimum value is 1 Returns a pointer to a member variable of class MR::RebuildMeshSettings named windingNumberBeta.

Calls MR_RebuildMeshSettings_Get_windingNumberBeta(). The reference to this object might be preserved as the return value.

◆ winding_number_beta_mut()

auto meshlib::RebuildMeshSettings::winding_number_beta_mut ( ) -> &mut f32

if general winding number is used to differentiate inside from outside: determines the precision of fast approximation: the more the better, minimum value is 1 Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named windingNumberBeta.

Calls MR_RebuildMeshSettings_GetMutable_windingNumberBeta(). The reference to this object might be preserved as the return value.

◆ winding_number_threshold()

auto meshlib::RebuildMeshSettings::winding_number_threshold ( ) const -> &f32

if general winding number is used to differentiate inside from outside: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a pointer to a member variable of class MR::RebuildMeshSettings named windingNumberThreshold.

Calls MR_RebuildMeshSettings_Get_windingNumberThreshold(). The reference to this object might be preserved as the return value.

◆ winding_number_threshold_mut()

auto meshlib::RebuildMeshSettings::winding_number_threshold_mut ( ) -> &mut f32

if general winding number is used to differentiate inside from outside: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a mutable pointer to a member variable of class MR::RebuildMeshSettings named windingNumberThreshold.

Calls MR_RebuildMeshSettings_GetMutable_windingNumberThreshold(). The reference to this object might be preserved as the return value.


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