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

Public Member Functions

void init (thisBox:&meshlib::Box3f)
void add_nested (box:&meshlib::Box3f)
auto complete () const -> f64

Additional Inherited Members

Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

class to override box nesting metrics Generated from class MR::Nesting::IBoxNestingPriority.

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

Member Function Documentation

◆ add_nested()

void meshlib::nesting::IBoxNestingPriority::add_nested ( box:&meshlib::Box3f )

accumulate priority by one of already nested boxes Generated from method MR::Nesting::IBoxNestingPriority::addNested.

Calls MR_Nesting_IBoxNestingPriority_addNested().

◆ complete()

auto meshlib::nesting::IBoxNestingPriority::complete ( ) const -> f64

finalize priority and return the value (more - better) Generated from method MR::Nesting::IBoxNestingPriority::complete.

Calls MR_Nesting_IBoxNestingPriority_complete().

◆ init()

void meshlib::nesting::IBoxNestingPriority::init ( thisBox:&meshlib::Box3f )

init priority calculation with box of placed object Generated from method MR::Nesting::IBoxNestingPriority::init.

Calls MR_Nesting_IBoxNestingPriority_init().


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