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

Public Member Functions

auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::MakeBridgeResult) -> &mut meshlib::MakeBridgeResult
auto new_faces () const -> &core::ffi::c_int
auto new_faces_mut () -> &mut core::ffi::c_int
void set_new_faces (value:core::ffi::c_int)
auto na () const -> &meshlib::EdgeId
auto na_mut () -> &mut meshlib::EdgeId
void set_na (value:meshlib::EdgeId)
auto nb () const -> &meshlib::EdgeId
auto nb_mut () -> &mut meshlib::EdgeId
void set_nb (value:meshlib::EdgeId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MakeBridgeResult >
static auto construct_from (newFaces:core::ffi::c_int, na:meshlib::EdgeId, nb:meshlib::EdgeId) -> meshlib::Owned< meshlib::MakeBridgeResult >
static auto construct_from_another (_other:&meshlib::MakeBridgeResult) -> meshlib::Owned< meshlib::MakeBridgeResult >
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::MakeBridgeResult.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::MakeBridgeResult::construct_from ( newFaces:core::ffi::c_int ,
na:meshlib::EdgeId ,
nb:meshlib::EdgeId  ) -> meshlib::Owned< meshlib::MakeBridgeResult >
static

Constructs MR::MakeBridgeResult elementwise.

Calls MR_MakeBridgeResult_ConstructFrom(). The reference to the parameter na might be preserved in the constructed object. The reference to the parameter nb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MakeBridgeResult::MakeBridgeResult.

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

◆ convert_to_bool()

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

bridge construction is successful if at least one new face was created Generated from conversion operator MR::MakeBridgeResult::operator bool.

Calls MR_MakeBridgeResult_ConvertTo_bool().

◆ na()

auto meshlib::MakeBridgeResult::na ( ) const -> &meshlib::EdgeId

the edge na (nb) if valid is a new boundary edge of the created bridge without left face, having the same origin as input edge a (b) Returns a pointer to a member variable of class MR::MakeBridgeResult named na.

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

◆ na_mut()

auto meshlib::MakeBridgeResult::na_mut ( ) -> &mut meshlib::EdgeId

the edge na (nb) if valid is a new boundary edge of the created bridge without left face, having the same origin as input edge a (b) Returns a mutable pointer to a member variable of class MR::MakeBridgeResult named na.

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

◆ nb()

auto meshlib::MakeBridgeResult::nb ( ) const -> &meshlib::EdgeId

the edge na (nb) if valid is a new boundary edge of the created bridge without left face, having the same origin as input edge a (b) Returns a pointer to a member variable of class MR::MakeBridgeResult named nb.

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

◆ nb_mut()

auto meshlib::MakeBridgeResult::nb_mut ( ) -> &mut meshlib::EdgeId

the edge na (nb) if valid is a new boundary edge of the created bridge without left face, having the same origin as input edge a (b) Returns a mutable pointer to a member variable of class MR::MakeBridgeResult named nb.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MakeBridgeResult_DefaultConstruct().

◆ new_faces()

auto meshlib::MakeBridgeResult::new_faces ( ) const -> &core::ffi::c_int

the number of faces added to the mesh Returns a pointer to a member variable of class MR::MakeBridgeResult named newFaces.

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

◆ new_faces_mut()

auto meshlib::MakeBridgeResult::new_faces_mut ( ) -> &mut core::ffi::c_int

the number of faces added to the mesh Returns a mutable pointer to a member variable of class MR::MakeBridgeResult named newFaces.

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

◆ set_na()

void meshlib::MakeBridgeResult::set_na ( value:meshlib::EdgeId )

the edge na (nb) if valid is a new boundary edge of the created bridge without left face, having the same origin as input edge a (b) Modifies a member variable of class MR::MakeBridgeResult named na.

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

◆ set_nb()

void meshlib::MakeBridgeResult::set_nb ( value:meshlib::EdgeId )

the edge na (nb) if valid is a new boundary edge of the created bridge without left face, having the same origin as input edge a (b) Modifies a member variable of class MR::MakeBridgeResult named nb.

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

◆ set_new_faces()

void meshlib::MakeBridgeResult::set_new_faces ( value:core::ffi::c_int )

the number of faces added to the mesh Modifies a member variable of class MR::MakeBridgeResult named newFaces.

Calls MR_MakeBridgeResult_Set_newFaces().


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