MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::EdgeId:

Public Member Functions

auto convert_to_int () const -> core::ffi::c_int
auto convert_to_bool () const -> bool
auto convert_to_mr_undirected_edge_id () const -> meshlib::UndirectedEdgeId
auto valid () const -> bool
auto get () -> &mut core::ffi::c_int
auto sym () const -> meshlib::EdgeId
auto even () const -> bool
auto odd () const -> bool
auto undirected () const -> meshlib::UndirectedEdgeId
auto op_equal (b:meshlib::EdgeId) const -> bool
auto op_not_equal (b:meshlib::EdgeId) const -> bool
auto op_less (b:meshlib::EdgeId) const -> bool
auto op_decr () -> &mut meshlib::EdgeId
auto op_incr () -> &mut meshlib::EdgeId
auto op_post_decr () -> meshlib::EdgeId
auto op_post_incr () -> meshlib::EdgeId
auto sub_assign (a:core::ffi::c_int) -> &mut meshlib::EdgeId
auto add_assign (a:core::ffi::c_int) -> &mut meshlib::EdgeId

Static Public Member Functions

static auto new () -> meshlib::EdgeId
static auto construct_mr_no_init (_1:&meshlib::NoInit) -> meshlib::EdgeId
static auto construct_mr_undirected_edge_id (u:meshlib::UndirectedEdgeId) -> meshlib::EdgeId
static auto construct_int (i:core::ffi::c_int) -> meshlib::EdgeId
static auto construct_unsigned_int (i:core::ffi::c_uint) -> meshlib::EdgeId
static auto construct_size_t (i:usize) -> meshlib::EdgeId

Public Attributes

core::ffi::c_int id_

Detailed Description

Those are full specializations in MRId.h, so MR_CANONICAL_TYPEDEFS doesn't work on them. Have to add this too. Generated from class MR::EdgeId. Derived classes: Direct: (non-virtual) MR::NoDefInit<MR::EdgeId>

Generated from struct MR::EdgeId. The fields are accessed directly.

Member Function Documentation

◆ add_assign()

auto meshlib::EdgeId::add_assign ( a:core::ffi::c_int ) -> &mut meshlib::EdgeId

Generated from method MR::EdgeId::operator+=.

Calls MR_EdgeId_add_assign(). The reference to this object might be preserved in the return value.

◆ construct_int()

auto meshlib::EdgeId::construct_int ( i:core::ffi::c_int ) -> meshlib::EdgeId
static

Generated from constructor MR::EdgeId::EdgeId.

Calls MR_EdgeId_Construct_int().

◆ construct_mr_no_init()

auto meshlib::EdgeId::construct_mr_no_init ( _1:&meshlib::NoInit ) -> meshlib::EdgeId
static

Generated from constructor MR::EdgeId::EdgeId.

Calls MR_EdgeId_Construct_MR_NoInit(). The reference to the parameter _1 might be preserved in the constructed object.

◆ construct_mr_undirected_edge_id()

auto meshlib::EdgeId::construct_mr_undirected_edge_id ( u:meshlib::UndirectedEdgeId ) -> meshlib::EdgeId
static

Generated from constructor MR::EdgeId::EdgeId.

Calls MR_EdgeId_Construct_MR_UndirectedEdgeId(). The reference to the parameter u might be preserved in the constructed object.

◆ construct_size_t()

auto meshlib::EdgeId::construct_size_t ( i:usize ) -> meshlib::EdgeId
static

Generated from constructor MR::EdgeId::EdgeId.

Calls MR_EdgeId_Construct_size_t(). The reference to the parameter i might be preserved in the constructed object.

◆ construct_unsigned_int()

auto meshlib::EdgeId::construct_unsigned_int ( i:core::ffi::c_uint ) -> meshlib::EdgeId
static

Generated from constructor MR::EdgeId::EdgeId.

Calls MR_EdgeId_Construct_unsigned_int(). The reference to the parameter i might be preserved in the constructed object.

◆ convert_to_bool()

auto meshlib::EdgeId::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::EdgeId::operator bool.

Calls MR_EdgeId_ConvertTo_bool().

◆ convert_to_int()

auto meshlib::EdgeId::convert_to_int ( ) const -> core::ffi::c_int

Generated from conversion operator MR::EdgeId::operator int.

Calls MR_EdgeId_ConvertTo_int().

◆ convert_to_mr_undirected_edge_id()

auto meshlib::EdgeId::convert_to_mr_undirected_edge_id ( ) const -> meshlib::UndirectedEdgeId

Generated from conversion operator MR::EdgeId::operator MR::UndirectedEdgeId.

Calls MR_EdgeId_ConvertTo_MR_UndirectedEdgeId().

◆ even()

auto meshlib::EdgeId::even ( ) const -> bool

among each pair of sym-edges: one is always even and the other is odd Generated from method MR::EdgeId::even.

Calls MR_EdgeId_even().

◆ get()

auto meshlib::EdgeId::get ( ) -> &mut core::ffi::c_int

Generated from method MR::EdgeId::get.

Calls MR_EdgeId_get().

◆ new()

auto meshlib::EdgeId::new ( ) -> meshlib::EdgeId
static

Constructs an empty (default-constructed) instance.

Calls MR_EdgeId_DefaultConstruct().

◆ odd()

auto meshlib::EdgeId::odd ( ) const -> bool

Generated from method MR::EdgeId::odd.

Calls MR_EdgeId_odd().

◆ op_decr()

auto meshlib::EdgeId::op_decr ( ) -> &mut meshlib::EdgeId

Generated from method MR::EdgeId::operator--.

Calls MR_decr_MR_EdgeId().

◆ op_equal()

auto meshlib::EdgeId::op_equal ( b:meshlib::EdgeId ) const -> bool

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

Calls MR_equal_MR_EdgeId().

◆ op_incr()

auto meshlib::EdgeId::op_incr ( ) -> &mut meshlib::EdgeId

Generated from method MR::EdgeId::operator++.

Calls MR_incr_MR_EdgeId().

◆ op_less()

auto meshlib::EdgeId::op_less ( b:meshlib::EdgeId ) const -> bool

Generated from method MR::EdgeId::operator<.

Calls MR_less_MR_EdgeId().

◆ op_not_equal()

auto meshlib::EdgeId::op_not_equal ( b:meshlib::EdgeId ) const -> bool

Generated from method MR::EdgeId::operator!=.

Calls MR_not_equal_MR_EdgeId().

◆ op_post_decr()

auto meshlib::EdgeId::op_post_decr ( ) -> meshlib::EdgeId

Generated from method MR::EdgeId::operator--.

Calls MR_post_decr_MR_EdgeId().

◆ op_post_incr()

auto meshlib::EdgeId::op_post_incr ( ) -> meshlib::EdgeId

Generated from method MR::EdgeId::operator++.

Calls MR_post_incr_MR_EdgeId().

◆ sub_assign()

auto meshlib::EdgeId::sub_assign ( a:core::ffi::c_int ) -> &mut meshlib::EdgeId

Generated from method MR::EdgeId::operator-=.

Calls MR_EdgeId_sub_assign(). The reference to this object might be preserved in the return value.

◆ sym()

auto meshlib::EdgeId::sym ( ) const -> meshlib::EdgeId

returns identifier of the edge with same ends but opposite orientation Generated from method MR::EdgeId::sym.

Calls MR_EdgeId_sym().

◆ undirected()

auto meshlib::EdgeId::undirected ( ) const -> meshlib::UndirectedEdgeId

returns unique identifier of the edge ignoring its direction Generated from method MR::EdgeId::undirected.

Calls MR_EdgeId_undirected().

◆ valid()

auto meshlib::EdgeId::valid ( ) const -> bool

Generated from method MR::EdgeId::valid.

Calls MR_EdgeId_valid().

Member Data Documentation

◆ id_

core::ffi::c_int meshlib::EdgeId::id_

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