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

Public Member Functions

auto assign_from_another (_other:&meshlib::SearchPathSettings) -> &mut meshlib::SearchPathSettings
auto geodesic_path_approx () const -> &meshlib::GeodesicPathApprox
auto geodesic_path_approx_mut () -> &mut meshlib::GeodesicPathApprox
void set_geodesic_path_approx (value:meshlib::GeodesicPathApprox)
auto max_reduce_iters () const -> &core::ffi::c_int
auto max_reduce_iters_mut () -> &mut core::ffi::c_int
void set_max_reduce_iters (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SearchPathSettings >
static auto construct_from (geodesicPathApprox:meshlib::GeodesicPathApprox, maxReduceIters:core::ffi::c_int) -> meshlib::Owned< meshlib::SearchPathSettings >
static auto construct_from_another (_other:&meshlib::SearchPathSettings) -> meshlib::Owned< meshlib::SearchPathSettings >
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

Geo path search settings Generated from class MR::SearchPathSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::SearchPathSettings::construct_from ( geodesicPathApprox:meshlib::GeodesicPathApprox ,
maxReduceIters:core::ffi::c_int  ) -> meshlib::Owned< meshlib::SearchPathSettings >
static

Constructs MR::SearchPathSettings elementwise.

Calls MR_SearchPathSettings_ConstructFrom(). The reference to the parameter geodesicPathApprox might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::SearchPathSettings::SearchPathSettings.

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

◆ geodesic_path_approx()

auto meshlib::SearchPathSettings::geodesic_path_approx ( ) const -> &meshlib::GeodesicPathApprox

< the algorithm to compute approximately geodesic path Returns a pointer to a member variable of class MR::SearchPathSettings named geodesicPathApprox.

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

◆ geodesic_path_approx_mut()

auto meshlib::SearchPathSettings::geodesic_path_approx_mut ( ) -> &mut meshlib::GeodesicPathApprox

< the algorithm to compute approximately geodesic path Returns a mutable pointer to a member variable of class MR::SearchPathSettings named geodesicPathApprox.

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

◆ max_reduce_iters()

auto meshlib::SearchPathSettings::max_reduce_iters ( ) const -> &core::ffi::c_int

< the maximum number of iterations to reduce approximate path length and convert it in geodesic path Returns a pointer to a member variable of class MR::SearchPathSettings named maxReduceIters.

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

◆ max_reduce_iters_mut()

auto meshlib::SearchPathSettings::max_reduce_iters_mut ( ) -> &mut core::ffi::c_int

< the maximum number of iterations to reduce approximate path length and convert it in geodesic path Returns a mutable pointer to a member variable of class MR::SearchPathSettings named maxReduceIters.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SearchPathSettings_DefaultConstruct().

◆ set_geodesic_path_approx()

void meshlib::SearchPathSettings::set_geodesic_path_approx ( value:meshlib::GeodesicPathApprox )

< the algorithm to compute approximately geodesic path Modifies a member variable of class MR::SearchPathSettings named geodesicPathApprox.

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

◆ set_max_reduce_iters()

void meshlib::SearchPathSettings::set_max_reduce_iters ( value:core::ffi::c_int )

< the maximum number of iterations to reduce approximate path length and convert it in geodesic path Modifies a member variable of class MR::SearchPathSettings named maxReduceIters.

Calls MR_SearchPathSettings_Set_maxReduceIters().


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