MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Nesting.BoxNestingOptions Class Reference

Generated from class MR.Nesting.BoxNestingOptions. This is the non-const half of the class. More...

Inheritance diagram for MR.Nesting.BoxNestingOptions:

Public Member Functions

unsafe BoxNestingOptions ()
 Constructs an empty (default-constructed) instance.
unsafe BoxNestingOptions (bool allow3dNesting, bool allowRotation, bool volumeBasedOrder, bool checkLessCombinations, int iterationLimit, MR.Std._ByValue_SharedPtr_MRNestingIBoxNestingPriority priorityMetric, MR.Vector3f? expansionFactor, MR.Std.Const_Vector_MRBox3f? preNestedVolumes, MR.Std.Const_Vector_MRNestingBoxNestingCorner? additinalSocketCorners, MR.Std._ByValue_Function_BoolFuncFromFloat cb)
 Constructs MR.Nesting.BoxNestingOptions elementwise.
unsafe BoxNestingOptions (MR.Nesting._ByValue_BoxNestingOptions _other)
 Generated from constructor MR.Nesting.BoxNestingOptions.BoxNestingOptions.
 BoxNestingOptions (Const_BoxNestingOptions _other)
 Generated from constructor MR.Nesting.BoxNestingOptions.BoxNestingOptions.
 BoxNestingOptions (BoxNestingOptions _other)
 Generated from constructor MR.Nesting.BoxNestingOptions.BoxNestingOptions.
unsafe MR.Nesting.BoxNestingOptions assign (MR.Nesting._ByValue_BoxNestingOptions _other)
 Generated from method MR::Nesting::BoxNestingOptions::operator=.

Properties

new unsafe ref bool allow3dNesting [get]
 if true allows placing objects over the bottom plane
new unsafe ref bool allowRotation [get]
 set false to keep original XY orientation
new unsafe ref bool volumeBasedOrder [get]
 if true - nests objects in the order of decreasing volume, otherwise nest in the input order
new unsafe ref bool checkLessCombinations [get]
 reduces nesting candidate options for speedup
new unsafe ref int iterationLimit [get]
 limit maximum number of tries, not to freeze for too long in this function
new unsafe MR.Std.SharedPtr_MRNestingIBoxNestingPriority priorityMetric [get, protected set]
 metric to calculate priority for candidates placement if not set - default getNestPostionMinPriorityMetric is used
new unsafe MR.? ConstBox_Vector3f expansionFactor [get, set]
 optional input expansion of boxes (useful to compensate shrinkage of material)
new unsafe MR.Std.? Const_Vector_MRBox3f preNestedVolumes [get, set]
 if not-nullptr contains boxes that are fixed in the nest and should not be intersected by floating (input) meshes
new unsafe MR.Std.? Const_Vector_MRNestingBoxNestingCorner additinalSocketCorners [get, set]
 user might force these sockets to be considered as corners for placing candidates
new unsafe MR.Std.Function_Bool_From_Float cb [get, protected set]
 callback indicating progress of the nesting

Detailed Description

Generated from class MR.Nesting.BoxNestingOptions. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ BoxNestingOptions() [1/5]

unsafe MR.Nesting.BoxNestingOptions.BoxNestingOptions ( )
inline

Constructs an empty (default-constructed) instance.

◆ BoxNestingOptions() [2/5]

unsafe MR.Nesting.BoxNestingOptions.BoxNestingOptions ( bool allow3dNesting,
bool allowRotation,
bool volumeBasedOrder,
bool checkLessCombinations,
int iterationLimit,
MR.Std._ByValue_SharedPtr_MRNestingIBoxNestingPriority priorityMetric,
MR.Vector3f? expansionFactor,
MR.Std.Const_Vector_MRBox3f? preNestedVolumes,
MR.Std.Const_Vector_MRNestingBoxNestingCorner? additinalSocketCorners,
MR.Std._ByValue_Function_BoolFuncFromFloat cb )
inline

Constructs MR.Nesting.BoxNestingOptions elementwise.

◆ BoxNestingOptions() [3/5]

unsafe MR.Nesting.BoxNestingOptions.BoxNestingOptions ( MR.Nesting._ByValue_BoxNestingOptions _other)
inline

◆ BoxNestingOptions() [4/5]

MR.Nesting.BoxNestingOptions.BoxNestingOptions ( Const_BoxNestingOptions _other)
inline

◆ BoxNestingOptions() [5/5]

MR.Nesting.BoxNestingOptions.BoxNestingOptions ( BoxNestingOptions _other)
inline

Member Function Documentation

◆ assign()

unsafe MR.Nesting.BoxNestingOptions MR.Nesting.BoxNestingOptions.assign ( MR.Nesting._ByValue_BoxNestingOptions _other)
inline

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

Property Documentation

◆ additinalSocketCorners

new unsafe MR.Std.? Const_Vector_MRNestingBoxNestingCorner MR.Nesting.BoxNestingOptions.additinalSocketCorners
getsetadd

user might force these sockets to be considered as corners for placing candidates

◆ allow3dNesting

new unsafe ref bool MR.Nesting.BoxNestingOptions.allow3dNesting
get

if true allows placing objects over the bottom plane

◆ allowRotation

new unsafe ref bool MR.Nesting.BoxNestingOptions.allowRotation
get

set false to keep original XY orientation

◆ cb

new unsafe MR.Std.Function_Bool_From_Float MR.Nesting.BoxNestingOptions.cb
getprotected set

callback indicating progress of the nesting

◆ checkLessCombinations

new unsafe ref bool MR.Nesting.BoxNestingOptions.checkLessCombinations
get

reduces nesting candidate options for speedup

◆ expansionFactor

new unsafe MR.? ConstBox_Vector3f MR.Nesting.BoxNestingOptions.expansionFactor
getset

optional input expansion of boxes (useful to compensate shrinkage of material)

◆ iterationLimit

new unsafe ref int MR.Nesting.BoxNestingOptions.iterationLimit
get

limit maximum number of tries, not to freeze for too long in this function

◆ preNestedVolumes

new unsafe MR.Std.? Const_Vector_MRBox3f MR.Nesting.BoxNestingOptions.preNestedVolumes
getset

if not-nullptr contains boxes that are fixed in the nest and should not be intersected by floating (input) meshes

◆ priorityMetric

new unsafe MR.Std.SharedPtr_MRNestingIBoxNestingPriority MR.Nesting.BoxNestingOptions.priorityMetric
getprotected set

metric to calculate priority for candidates placement if not set - default getNestPostionMinPriorityMetric is used

◆ volumeBasedOrder

new unsafe ref bool MR.Nesting.BoxNestingOptions.volumeBasedOrder
get

if true - nests objects in the order of decreasing volume, otherwise nest in the input order


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