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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_builder::VertSpan) -> &mut meshlib::mesh_builder::VertSpan
auto first_vertex () const -> &core::ffi::c_int
auto first_vertex_mut () -> &mut core::ffi::c_int
void set_first_vertex (value:core::ffi::c_int)
auto last_vertex () const -> &core::ffi::c_int
auto last_vertex_mut () -> &mut core::ffi::c_int
void set_last_vertex (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_builder::VertSpan >
static auto construct_from (firstVertex:core::ffi::c_int, lastVertex:core::ffi::c_int) -> meshlib::Owned< meshlib::mesh_builder::VertSpan >
static auto construct_from_another (_other:&meshlib::mesh_builder::VertSpan) -> meshlib::Owned< meshlib::mesh_builder::VertSpan >
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

each face is surrounded by a closed contour of vertices [fistVertex, lastVertex) Generated from class MR::MeshBuilder::VertSpan.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::mesh_builder::VertSpan::assign_from_another ( _other:&meshlib::mesh_builder::VertSpan ) -> &mut meshlib::mesh_builder::VertSpan

Generated from method MR::MeshBuilder::VertSpan::operator=.

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

◆ construct_from()

auto meshlib::mesh_builder::VertSpan::construct_from ( firstVertex:core::ffi::c_int ,
lastVertex:core::ffi::c_int  ) -> meshlib::Owned< meshlib::mesh_builder::VertSpan >
static

Constructs MR::MeshBuilder::VertSpan elementwise.

Calls MR_MeshBuilder_VertSpan_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::MeshBuilder::VertSpan::VertSpan.

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

◆ first_vertex()

auto meshlib::mesh_builder::VertSpan::first_vertex ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::MeshBuilder::VertSpan named firstVertex.

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

◆ first_vertex_mut()

auto meshlib::mesh_builder::VertSpan::first_vertex_mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertSpan named firstVertex.

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

◆ last_vertex()

auto meshlib::mesh_builder::VertSpan::last_vertex ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::MeshBuilder::VertSpan named lastVertex.

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

◆ last_vertex_mut()

auto meshlib::mesh_builder::VertSpan::last_vertex_mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::MeshBuilder::VertSpan named lastVertex.

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

◆ new()

auto meshlib::mesh_builder::VertSpan::new ( ) -> meshlib::Owned< meshlib::mesh_builder::VertSpan >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshBuilder_VertSpan_DefaultConstruct().

◆ set_first_vertex()

void meshlib::mesh_builder::VertSpan::set_first_vertex ( value:core::ffi::c_int )

Modifies a member variable of class MR::MeshBuilder::VertSpan named firstVertex.

Calls MR_MeshBuilder_VertSpan_Set_firstVertex().

◆ set_last_vertex()

void meshlib::mesh_builder::VertSpan::set_last_vertex ( value:core::ffi::c_int )

Modifies a member variable of class MR::MeshBuilder::VertSpan named lastVertex.

Calls MR_MeshBuilder_VertSpan_Set_lastVertex().


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