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

Public Member Functions

 SequentialNester (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SequentialNester (meshlib.nesting.SequentialNester _other)
 SequentialNester (meshlib.nesting.NestingBaseParams params, float voxelSize)
meshlib.nesting.SequentialNester assignFromAnother (meshlib.nesting.SequentialNester _other)
meshlib.nesting.NestingResult nestMesh (meshlib.nesting.MeshXf meshXf, meshlib.nesting.BoxNestingOptions options, meshlib.std_vector_MR_OutEdge densificationSequence)
meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId nestMeshes (meshlib.Vector_MR_Nesting_MeshXf_MR_ObjId meshes, meshlib.nesting.BoxNestingOptions options, meshlib.std_vector_MR_OutEdge densificationSequence)
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 add meshes to nest sequentially Generated from class MR::Nesting::SequentialNester.

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

Constructor & Destructor Documentation

◆ SequentialNester() [1/3]

meshlib.nesting.SequentialNester.SequentialNester ( 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.

◆ SequentialNester() [2/3]

meshlib.nesting.SequentialNester.SequentialNester ( meshlib.nesting.SequentialNester _other)

Generated from constructor MR::Nesting::SequentialNester::SequentialNester. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Nesting_SequentialNester_ConstructFromAnother().

◆ SequentialNester() [3/3]

meshlib.nesting.SequentialNester.SequentialNester ( meshlib.nesting.NestingBaseParams params,
float voxelSize )

if voxelSize > 0 peform densification on each addition Generated from constructor MR::Nesting::SequentialNester::SequentialNester. The reference to the parameter params might be preserved in the constructed object.

Calls MR_Nesting_SequentialNester_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.nesting.SequentialNester meshlib.nesting.SequentialNester.assignFromAnother ( meshlib.nesting.SequentialNester _other)

Generated from method MR::Nesting::SequentialNester::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Nesting_SequentialNester_AssignFromAnother().

◆ nestMesh()

meshlib.nesting.NestingResult meshlib.nesting.SequentialNester.nestMesh ( meshlib.nesting.MeshXf meshXf,
meshlib.nesting.BoxNestingOptions options,
meshlib.std_vector_MR_OutEdge densificationSequence )

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(). The C++ function returns expected<MR::Nesting::NestingResult, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ nestMeshes()

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 C++ function returns expected<MR::Vector<MR::Nesting::NestingResult, MR::ObjId>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.


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