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

Public Member Functions

auto assign_from_another (_other:&meshlib::StitchHolesParams) -> &mut meshlib::StitchHolesParams
auto metric () const -> &meshlib::FillHoleMetric
auto metric_mut () -> &mut meshlib::FillHoleMetric
void set_metric (value:&meshlib::FillHoleMetric)
auto out_new_faces () const -> *const *mut meshlib::ffi::MR_FaceBitSet
auto out_new_faces_mut () -> *mut *mut meshlib::ffi::MR_FaceBitSet
void set_out_new_faces (value:Option<&mut meshlib::FaceBitSet >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::StitchHolesParams >
static auto construct_from (metric:&meshlib::FillHoleMetric, outNewFaces:Option<&mut meshlib::FaceBitSet >) -> meshlib::Owned< meshlib::StitchHolesParams >
static auto construct_from_another (_other:&meshlib::StitchHolesParams) -> meshlib::Owned< meshlib::StitchHolesParams >
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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::StitchHolesParams::construct_from ( metric:&meshlib::FillHoleMetric ,
outNewFaces:Option<&mut meshlib::FaceBitSet >  ) -> meshlib::Owned< meshlib::StitchHolesParams >
static

Constructs MR::StitchHolesParams elementwise.

Calls MR_StitchHolesParams_ConstructFrom(). The reference to the parameter metric might be preserved in the constructed object. The reference to the parameter outNewFaces might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::StitchHolesParams::StitchHolesParams.

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

◆ metric()

auto meshlib::StitchHolesParams::metric ( ) const -> &meshlib::FillHoleMetric

Specifies triangulation metric
default for MR::stitchHoles: getComplexStitchMetric

See also
FillHoleMetric

Returns a pointer to a member variable of class MR::StitchHolesParams named metric.

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

◆ metric_mut()

auto meshlib::StitchHolesParams::metric_mut ( ) -> &mut meshlib::FillHoleMetric

Specifies triangulation metric
default for MR::stitchHoles: getComplexStitchMetric

See also
FillHoleMetric

Returns a mutable pointer to a member variable of class MR::StitchHolesParams named metric.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_StitchHolesParams_DefaultConstruct().

◆ out_new_faces()

auto meshlib::StitchHolesParams::out_new_faces ( ) const -> *const *mut meshlib::ffi::MR_FaceBitSet

If not nullptr accumulate new faces Returns a pointer to a member variable of class MR::StitchHolesParams named outNewFaces.

Calls MR_StitchHolesParams_Get_outNewFaces(). 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_new_faces_mut()

auto meshlib::StitchHolesParams::out_new_faces_mut ( ) -> *mut *mut meshlib::ffi::MR_FaceBitSet

If not nullptr accumulate new faces Returns a mutable pointer to a member variable of class MR::StitchHolesParams named outNewFaces.

Calls MR_StitchHolesParams_GetMutable_outNewFaces(). 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.

◆ set_metric()

void meshlib::StitchHolesParams::set_metric ( value:&meshlib::FillHoleMetric )

Specifies triangulation metric
default for MR::stitchHoles: getComplexStitchMetric

See also
FillHoleMetric

Modifies a member variable of class MR::StitchHolesParams named metric.

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

◆ set_out_new_faces()

void meshlib::StitchHolesParams::set_out_new_faces ( value:Option<&mut meshlib::FaceBitSet > )

If not nullptr accumulate new faces Modifies a member variable of class MR::StitchHolesParams named outNewFaces.

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


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