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

Public Member Functions

auto assign_from_another (_other:&meshlib::nesting::SequentialNester) -> &mut meshlib::nesting::SequentialNester
auto nest_mesh (meshXf:&meshlib::nesting::MeshXf, options:&meshlib::nesting::BoxNestingOptions, densificationSequence:Option<&meshlib::std_vector_MR_OutEdge >) -> meshlib::Owned< meshlib::expected_MR_Nesting_NestingResult_std_string >
auto nest_meshes (meshes:&meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId, options:&meshlib::nesting::BoxNestingOptions, densificationSequence:Option<&meshlib::std_vector_MR_OutEdge >) -> meshlib::Owned< meshlib::expected_MR_Vector_MR_Nesting_NestingResult_MR_ObjId_std_string >

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::nesting::SequentialNester) -> meshlib::Owned< meshlib::nesting::SequentialNester >
static auto construct (params:&meshlib::nesting::NestingBaseParams, voxelSize:f32) -> meshlib::Owned< meshlib::nesting::SequentialNester >
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

class to add meshes to nest sequentially Generated from class MR::Nesting::SequentialNester.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::nesting::SequentialNester::assign_from_another ( _other:&meshlib::nesting::SequentialNester ) -> &mut meshlib::nesting::SequentialNester

Generated from method MR::Nesting::SequentialNester::operator=.

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

◆ construct()

auto meshlib::nesting::SequentialNester::construct ( params:&meshlib::nesting::NestingBaseParams ,
voxelSize:f32  ) -> meshlib::Owned< meshlib::nesting::SequentialNester >
static

if voxelSize > 0 peform densification on each addition Generated from constructor MR::Nesting::SequentialNester::SequentialNester.

Calls MR_Nesting_SequentialNester_Construct(). The reference to the parameter params might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Nesting::SequentialNester::SequentialNester.

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

◆ nest_mesh()

auto meshlib::nesting::SequentialNester::nest_mesh ( meshXf:&meshlib::nesting::MeshXf ,
options:&meshlib::nesting::BoxNestingOptions ,
densificationSequence:Option<&meshlib::std_vector_MR_OutEdge >  ) -> meshlib::Owned< meshlib::expected_MR_Nesting_NestingResult_std_string >

tries to add single mesh to the nest returns true if mesh is nested, false otherwise (can be canceled) Generated from method MR::Nesting::SequentialNester::nestMesh.

Calls MR_Nesting_SequentialNester_nestMesh().

◆ nest_meshes()

tries to add multiple mesh to the nest returns bitset of nested meshes (can be canceled) Generated from method MR::Nesting::SequentialNester::nestMeshes.

Calls MR_Nesting_SequentialNester_nestMeshes().


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