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

Public Member Functions

auto assign_from_another (_other:&meshlib::AABBTreeWideLeafTri) -> &mut meshlib::AABBTreeWideLeafTri
auto face () const -> &meshlib::FaceId
auto face_mut () -> &mut meshlib::FaceId
void set_face (value:meshlib::FaceId)
auto verts () const -> &meshlib::std_array_MR_VertId_3
auto verts_mut () -> &mut meshlib::std_array_MR_VertId_3
void set_verts (value:meshlib::std_array_MR_VertId_3)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::AABBTreeWideLeafTri >
static auto construct_from (face:meshlib::FaceId, verts:meshlib::std_array_MR_VertId_3) -> meshlib::Owned< meshlib::AABBTreeWideLeafTri >
static auto construct_from_another (_other:&meshlib::AABBTreeWideLeafTri) -> meshlib::Owned< meshlib::AABBTreeWideLeafTri >
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

triangle in a leaf of AABBTree Generated from class MR::AABBTreeWideLeafTri.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::AABBTreeWideLeafTri::construct_from ( face:meshlib::FaceId ,
verts:meshlib::std_array_MR_VertId_3  ) -> meshlib::Owned< meshlib::AABBTreeWideLeafTri >
static

Constructs MR::AABBTreeWideLeafTri elementwise.

Calls MR_AABBTreeWideLeafTri_ConstructFrom(). The reference to the parameter face might be preserved in the constructed object. The reference to the parameter verts might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::AABBTreeWideLeafTri::AABBTreeWideLeafTri.

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

◆ face()

auto meshlib::AABBTreeWideLeafTri::face ( ) const -> &meshlib::FaceId

Returns a pointer to a member variable of class MR::AABBTreeWideLeafTri named face.

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

◆ face_mut()

auto meshlib::AABBTreeWideLeafTri::face_mut ( ) -> &mut meshlib::FaceId

Returns a mutable pointer to a member variable of class MR::AABBTreeWideLeafTri named face.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_AABBTreeWideLeafTri_DefaultConstruct().

◆ set_face()

void meshlib::AABBTreeWideLeafTri::set_face ( value:meshlib::FaceId )

Modifies a member variable of class MR::AABBTreeWideLeafTri named face.

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

◆ set_verts()

void meshlib::AABBTreeWideLeafTri::set_verts ( value:meshlib::std_array_MR_VertId_3 )

< in the order of mesh.topology.getTriVerts( face ) Modifies a member variable of class MR::AABBTreeWideLeafTri named verts.

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

◆ verts()

auto meshlib::AABBTreeWideLeafTri::verts ( ) const -> &meshlib::std_array_MR_VertId_3

< in the order of mesh.topology.getTriVerts( face ) Returns a pointer to a member variable of class MR::AABBTreeWideLeafTri named verts.

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

◆ verts_mut()

auto meshlib::AABBTreeWideLeafTri::verts_mut ( ) -> &mut meshlib::std_array_MR_VertId_3

< in the order of mesh.topology.getTriVerts( face ) Returns a mutable pointer to a member variable of class MR::AABBTreeWideLeafTri named verts.

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


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