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

Public Member Functions

auto assign_from_another (_other:&meshlib::FanRecordWithCenter) -> &mut meshlib::FanRecordWithCenter
auto center () const -> &meshlib::VertId
auto center_mut () -> &mut meshlib::VertId
void set_center (value:meshlib::VertId)
auto border () const -> &meshlib::VertId
auto border_mut () -> &mut meshlib::VertId
void set_border (value:meshlib::VertId)
auto first_nei () const -> &core::ffi::c_uint
auto first_nei_mut () -> &mut core::ffi::c_uint
void set_first_nei (value:core::ffi::c_uint)
auto upcast_to_fan_record () const -> &meshlib::FanRecord
auto upcast_to_fan_record_mut () -> &mut meshlib::FanRecord

Static Public Member Functions

static auto construct_3 (c:Option<&meshlib::VertId >, b:Option<&meshlib::VertId >, fn:Option< core::ffi::c_uint >) -> meshlib::Owned< meshlib::FanRecordWithCenter >
static auto construct_from_another (_other:&meshlib::FanRecordWithCenter) -> meshlib::Owned< meshlib::FanRecordWithCenter >
static auto construct_1 (_1:&meshlib::NoInit) -> meshlib::Owned< meshlib::FanRecordWithCenter >
static auto static_downcast_from_fan_record (object:&meshlib::FanRecord) -> &Self
static auto static_downcast_from_fan_record_mut (object:&mut meshlib::FanRecord) -> &mut Self
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

describes one fan of triangles around a point including the point Generated from class MR::FanRecordWithCenter. Base classes: Direct: (non-virtual) MR::FanRecord

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ border()

auto meshlib::FanRecordWithCenter::border ( ) const -> &meshlib::VertId

first border edge (invalid if the center point is not on the boundary); triangle associated with this point is absent Returns a pointer to a member variable of class MR::FanRecordWithCenter named border.

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

◆ border_mut()

auto meshlib::FanRecordWithCenter::border_mut ( ) -> &mut meshlib::VertId

first border edge (invalid if the center point is not on the boundary); triangle associated with this point is absent Returns a mutable pointer to a member variable of class MR::FanRecordWithCenter named border.

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

◆ center()

auto meshlib::FanRecordWithCenter::center ( ) const -> &meshlib::VertId

center point in the fan Returns a pointer to a member variable of class MR::FanRecordWithCenter named center.

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

◆ center_mut()

auto meshlib::FanRecordWithCenter::center_mut ( ) -> &mut meshlib::VertId

center point in the fan Returns a mutable pointer to a member variable of class MR::FanRecordWithCenter named center.

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

◆ construct_1()

auto meshlib::FanRecordWithCenter::construct_1 ( _1:&meshlib::NoInit ) -> meshlib::Owned< meshlib::FanRecordWithCenter >
static

Generated from constructor MR::FanRecordWithCenter::FanRecordWithCenter.

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

◆ construct_3()

auto meshlib::FanRecordWithCenter::construct_3 ( c:Option<&meshlib::VertId > ,
b:Option<&meshlib::VertId > ,
fn:Option< core::ffi::c_uint >  ) -> meshlib::Owned< meshlib::FanRecordWithCenter >
static

Generated from constructor MR::FanRecordWithCenter::FanRecordWithCenter.

Calls MR_FanRecordWithCenter_Construct_3(). The reference to the parameter c might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. The reference to the parameter fn might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FanRecordWithCenter::FanRecordWithCenter.

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

◆ first_nei()

auto meshlib::FanRecordWithCenter::first_nei ( ) const -> &core::ffi::c_uint

the position of first neigbor in LocalTriangulations::neighbours Returns a pointer to a member variable of class MR::FanRecordWithCenter named firstNei.

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

◆ first_nei_mut()

auto meshlib::FanRecordWithCenter::first_nei_mut ( ) -> &mut core::ffi::c_uint

the position of first neigbor in LocalTriangulations::neighbours Returns a mutable pointer to a member variable of class MR::FanRecordWithCenter named firstNei.

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

◆ set_border()

void meshlib::FanRecordWithCenter::set_border ( value:meshlib::VertId )

first border edge (invalid if the center point is not on the boundary); triangle associated with this point is absent Modifies a member variable of class MR::FanRecordWithCenter named border.

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

◆ set_center()

void meshlib::FanRecordWithCenter::set_center ( value:meshlib::VertId )

center point in the fan Modifies a member variable of class MR::FanRecordWithCenter named center.

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

◆ set_first_nei()

void meshlib::FanRecordWithCenter::set_first_nei ( value:core::ffi::c_uint )

the position of first neigbor in LocalTriangulations::neighbours Modifies a member variable of class MR::FanRecordWithCenter named firstNei.

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

◆ static_downcast_from_fan_record()

auto meshlib::FanRecordWithCenter::static_downcast_from_fan_record ( object:&meshlib::FanRecord ) -> &Self
static

Static downcast from the base class MR::FanRecord.

Calls MR_FanRecordWithCenter_StaticDowncastFrom_MR_FanRecord(). Undefined behavior if the object isn't actually a FanRecordWithCenter.

Note
This function is unsafe.

◆ static_downcast_from_fan_record_mut()

auto meshlib::FanRecordWithCenter::static_downcast_from_fan_record_mut ( object:&mut meshlib::FanRecord ) -> &mut Self
static

Static downcast from the base class MR::FanRecord.

Calls MR_FanRecordWithCenter_MutableStaticDowncastFrom_MR_FanRecord(). Undefined behavior if the object isn't actually a FanRecordWithCenter.

Note
This function is unsafe.

◆ upcast_to_fan_record()

auto meshlib::FanRecordWithCenter::upcast_to_fan_record ( ) const -> &meshlib::FanRecord

Upcasts to the base class MR::FanRecord.

Calls MR_FanRecordWithCenter_UpcastTo_MR_FanRecord().

◆ upcast_to_fan_record_mut()

auto meshlib::FanRecordWithCenter::upcast_to_fan_record_mut ( ) -> &mut meshlib::FanRecord

Upcasts to the base class MR::FanRecord.

Calls MR_FanRecordWithCenter_MutableUpcastTo_MR_FanRecord().


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