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

Public Member Functions

auto assign_from_another (_other:&meshlib::FindInnerShellSettings) -> &mut meshlib::FindInnerShellSettings
auto side () const -> &meshlib::Side
auto side_mut () -> &mut meshlib::Side
void set_side (value:meshlib::Side)
auto max_dist_sq () const -> &f32
auto max_dist_sq_mut () -> &mut f32
void set_max_dist_sq (value:f32)
auto use_winding_number () const -> &bool
auto use_winding_number_mut () -> &mut bool
void set_use_winding_number (value:bool)
auto winding_number_threshold () const -> &f32
auto winding_number_threshold_mut () -> &mut f32
void set_winding_number_threshold (value:f32)
auto min_verts_in_comp () const -> &core::ffi::c_int
auto min_verts_in_comp_mut () -> &mut core::ffi::c_int
void set_min_verts_in_comp (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FindInnerShellSettings >
static auto construct_from (side:meshlib::Side, maxDistSq:f32, useWindingNumber:bool, windingNumberThreshold:f32, minVertsInComp:core::ffi::c_int) -> meshlib::Owned< meshlib::FindInnerShellSettings >
static auto construct_from_another (_other:&meshlib::FindInnerShellSettings) -> meshlib::Owned< meshlib::FindInnerShellSettings >
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::FindInnerShellSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::FindInnerShellSettings::construct_from ( side:meshlib::Side ,
maxDistSq:f32 ,
useWindingNumber:bool ,
windingNumberThreshold:f32 ,
minVertsInComp:core::ffi::c_int  ) -> meshlib::Owned< meshlib::FindInnerShellSettings >
static

Constructs MR::FindInnerShellSettings elementwise.

Calls MR_FindInnerShellSettings_ConstructFrom(). The reference to the parameter side might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FindInnerShellSettings::FindInnerShellSettings.

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

◆ max_dist_sq()

auto meshlib::FindInnerShellSettings::max_dist_sq ( ) const -> &f32

specifies maximum squared distance from shell parts of interest to source mesh Returns a pointer to a member variable of class MR::FindInnerShellSettings named maxDistSq.

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

◆ max_dist_sq_mut()

auto meshlib::FindInnerShellSettings::max_dist_sq_mut ( ) -> &mut f32

specifies maximum squared distance from shell parts of interest to source mesh Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named maxDistSq.

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

◆ min_verts_in_comp()

auto meshlib::FindInnerShellSettings::min_verts_in_comp ( ) const -> &core::ffi::c_int

components of proper side with smaller number of vertices than this value will be removed from the result; components of wrong side with smaller number of vertices than this value will be added to the result Returns a pointer to a member variable of class MR::FindInnerShellSettings named minVertsInComp.

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

◆ min_verts_in_comp_mut()

auto meshlib::FindInnerShellSettings::min_verts_in_comp_mut ( ) -> &mut core::ffi::c_int

components of proper side with smaller number of vertices than this value will be removed from the result; components of wrong side with smaller number of vertices than this value will be added to the result Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named minVertsInComp.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FindInnerShellSettings_DefaultConstruct().

◆ set_max_dist_sq()

void meshlib::FindInnerShellSettings::set_max_dist_sq ( value:f32 )

specifies maximum squared distance from shell parts of interest to source mesh Modifies a member variable of class MR::FindInnerShellSettings named maxDistSq.

Calls MR_FindInnerShellSettings_Set_maxDistSq().

◆ set_min_verts_in_comp()

void meshlib::FindInnerShellSettings::set_min_verts_in_comp ( value:core::ffi::c_int )

components of proper side with smaller number of vertices than this value will be removed from the result; components of wrong side with smaller number of vertices than this value will be added to the result Modifies a member variable of class MR::FindInnerShellSettings named minVertsInComp.

Calls MR_FindInnerShellSettings_Set_minVertsInComp().

◆ set_side()

void meshlib::FindInnerShellSettings::set_side ( value:meshlib::Side )

specifies which side of shell is of interest: negative or positive relative to mesh normals Modifies a member variable of class MR::FindInnerShellSettings named side.

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

◆ set_use_winding_number()

void meshlib::FindInnerShellSettings::set_use_winding_number ( value:bool )

if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh Modifies a member variable of class MR::FindInnerShellSettings named useWindingNumber.

Calls MR_FindInnerShellSettings_Set_useWindingNumber().

◆ set_winding_number_threshold()

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

positive side 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::FindInnerShellSettings named windingNumberThreshold.

Calls MR_FindInnerShellSettings_Set_windingNumberThreshold().

◆ side()

auto meshlib::FindInnerShellSettings::side ( ) const -> &meshlib::Side

specifies which side of shell is of interest: negative or positive relative to mesh normals Returns a pointer to a member variable of class MR::FindInnerShellSettings named side.

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

◆ side_mut()

auto meshlib::FindInnerShellSettings::side_mut ( ) -> &mut meshlib::Side

specifies which side of shell is of interest: negative or positive relative to mesh normals Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named side.

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

◆ use_winding_number()

auto meshlib::FindInnerShellSettings::use_winding_number ( ) const -> &bool

if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh Returns a pointer to a member variable of class MR::FindInnerShellSettings named useWindingNumber.

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

◆ use_winding_number_mut()

auto meshlib::FindInnerShellSettings::use_winding_number_mut ( ) -> &mut bool

if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh Returns a mutable pointer to a member variable of class MR::FindInnerShellSettings named useWindingNumber.

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

◆ winding_number_threshold()

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

positive side 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::FindInnerShellSettings named windingNumberThreshold.

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

◆ winding_number_threshold_mut()

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

positive side 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::FindInnerShellSettings named windingNumberThreshold.

Calls MR_FindInnerShellSettings_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: