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

Public Member Functions

auto assign_from_another (_other:&meshlib::IntrinsicDeloneSettings) -> &mut meshlib::IntrinsicDeloneSettings
auto threshold () const -> &f32
auto threshold_mut () -> &mut f32
void set_threshold (value:f32)
auto region () const -> *const *const meshlib::ffi::MR_FaceBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_FaceBitSet
void set_region (value:Option<&meshlib::FaceBitSet >)
auto not_flippable () const -> *const *const meshlib::ffi::MR_UndirectedEdgeBitSet
auto not_flippable_mut () -> *mut *const meshlib::ffi::MR_UndirectedEdgeBitSet
void set_not_flippable (value:Option<&meshlib::UndirectedEdgeBitSet >)
auto vert_region () const -> *const *const meshlib::ffi::MR_VertBitSet
auto vert_region_mut () -> *mut *const meshlib::ffi::MR_VertBitSet
void set_vert_region (value:Option<&meshlib::VertBitSet >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::IntrinsicDeloneSettings >
static auto construct_from (threshold:f32, region:Option<&meshlib::FaceBitSet >, notFlippable:Option<&meshlib::UndirectedEdgeBitSet >, vertRegion:Option<&meshlib::VertBitSet >) -> meshlib::Owned< meshlib::IntrinsicDeloneSettings >
static auto construct_from_another (_other:&meshlib::IntrinsicDeloneSettings) -> meshlib::Owned< meshlib::IntrinsicDeloneSettings >
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::IntrinsicDeloneSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::IntrinsicDeloneSettings::construct_from ( threshold:f32 ,
region:Option<&meshlib::FaceBitSet > ,
notFlippable:Option<&meshlib::UndirectedEdgeBitSet > ,
vertRegion:Option<&meshlib::VertBitSet >  ) -> meshlib::Owned< meshlib::IntrinsicDeloneSettings >
static

Constructs MR::IntrinsicDeloneSettings elementwise.

Calls MR_IntrinsicDeloneSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter notFlippable might be preserved in the constructed object. The reference to the parameter vertRegion might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::IntrinsicDeloneSettings::IntrinsicDeloneSettings.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_IntrinsicDeloneSettings_DefaultConstruct().

◆ not_flippable()

auto meshlib::IntrinsicDeloneSettings::not_flippable ( ) const -> *const *const meshlib::ffi::MR_UndirectedEdgeBitSet

Edges specified by this bit-set will never be flipped Returns a pointer to a member variable of class MR::IntrinsicDeloneSettings named notFlippable.

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

◆ not_flippable_mut()

auto meshlib::IntrinsicDeloneSettings::not_flippable_mut ( ) -> *mut *const meshlib::ffi::MR_UndirectedEdgeBitSet

Edges specified by this bit-set will never be flipped Returns a mutable pointer to a member variable of class MR::IntrinsicDeloneSettings named notFlippable.

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

◆ region()

auto meshlib::IntrinsicDeloneSettings::region ( ) const -> *const *const meshlib::ffi::MR_FaceBitSet

Only edges with left and right faces in this set can be flipped Returns a pointer to a member variable of class MR::IntrinsicDeloneSettings named region.

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

◆ region_mut()

auto meshlib::IntrinsicDeloneSettings::region_mut ( ) -> *mut *const meshlib::ffi::MR_FaceBitSet

Only edges with left and right faces in this set can be flipped Returns a mutable pointer to a member variable of class MR::IntrinsicDeloneSettings named region.

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

void meshlib::IntrinsicDeloneSettings::set_not_flippable ( value:Option<&meshlib::UndirectedEdgeBitSet > )

Edges specified by this bit-set will never be flipped Modifies a member variable of class MR::IntrinsicDeloneSettings named notFlippable.

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

◆ set_region()

void meshlib::IntrinsicDeloneSettings::set_region ( value:Option<&meshlib::FaceBitSet > )

Only edges with left and right faces in this set can be flipped Modifies a member variable of class MR::IntrinsicDeloneSettings named region.

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

◆ set_threshold()

void meshlib::IntrinsicDeloneSettings::set_threshold ( value:f32 )

the edge is considered Delaunay, if cotan(a1) + cotan(a2) >= threshold; passing positive(negative) threshold makes less(more) edges satisfy Delaunay conditions Modifies a member variable of class MR::IntrinsicDeloneSettings named threshold.

Calls MR_IntrinsicDeloneSettings_Set_threshold().

◆ set_vert_region()

void meshlib::IntrinsicDeloneSettings::set_vert_region ( value:Option<&meshlib::VertBitSet > )

Only edges with origin or destination in this set before or after flip can be flipped Modifies a member variable of class MR::IntrinsicDeloneSettings named vertRegion.

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

◆ threshold()

auto meshlib::IntrinsicDeloneSettings::threshold ( ) const -> &f32

the edge is considered Delaunay, if cotan(a1) + cotan(a2) >= threshold; passing positive(negative) threshold makes less(more) edges satisfy Delaunay conditions Returns a pointer to a member variable of class MR::IntrinsicDeloneSettings named threshold.

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

◆ threshold_mut()

auto meshlib::IntrinsicDeloneSettings::threshold_mut ( ) -> &mut f32

the edge is considered Delaunay, if cotan(a1) + cotan(a2) >= threshold; passing positive(negative) threshold makes less(more) edges satisfy Delaunay conditions Returns a mutable pointer to a member variable of class MR::IntrinsicDeloneSettings named threshold.

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

◆ vert_region()

auto meshlib::IntrinsicDeloneSettings::vert_region ( ) const -> *const *const meshlib::ffi::MR_VertBitSet

Only edges with origin or destination in this set before or after flip can be flipped Returns a pointer to a member variable of class MR::IntrinsicDeloneSettings named vertRegion.

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

◆ vert_region_mut()

auto meshlib::IntrinsicDeloneSettings::vert_region_mut ( ) -> *mut *const meshlib::ffi::MR_VertBitSet

Only edges with origin or destination in this set before or after flip can be flipped Returns a mutable pointer to a member variable of class MR::IntrinsicDeloneSettings named vertRegion.

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


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