MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.nesting.IBoxNestingPriority Class Reference
Inheritance diagram for meshlib.nesting.IBoxNestingPriority:

Public Member Functions

 IBoxNestingPriority (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
void init (meshlib.Box3f thisBox)
void addNested (meshlib.Box3f box)
double complete ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

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

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ IBoxNestingPriority()

meshlib.nesting.IBoxNestingPriority.IBoxNestingPriority ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

Member Function Documentation

◆ addNested()

void meshlib.nesting.IBoxNestingPriority.addNested ( meshlib.Box3f box)

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

Calls MR_Nesting_IBoxNestingPriority_addNested().

◆ complete()

double meshlib.nesting.IBoxNestingPriority.complete ( )

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 ( meshlib.Box3f thisBox)

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

Calls MR_Nesting_IBoxNestingPriority_init().


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