MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Nesting.Const_BoxNestingOptions:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_BoxNestingOptions ()
 Constructs an empty (default-constructed) instance.
unsafe Const_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_Bool_From_Float cb)
 Constructs MR.Nesting.BoxNestingOptions elementwise.
unsafe Const_BoxNestingOptions (MR.Nesting._ByValue_BoxNestingOptions _other)
 Generated from constructor MR.Nesting.BoxNestingOptions.BoxNestingOptions.
 Const_BoxNestingOptions (Const_BoxNestingOptions _other)
 Generated from constructor MR.Nesting.BoxNestingOptions.BoxNestingOptions.
 Const_BoxNestingOptions (BoxNestingOptions _other)
 Generated from constructor MR.Nesting.BoxNestingOptions.BoxNestingOptions.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe bool * __ref_storage_allow3dNesting
unsafe bool * __ref_storage_allowRotation
unsafe bool * __ref_storage_volumeBasedOrder
unsafe bool * __ref_storage_checkLessCombinations
unsafe int * __ref_storage_iterationLimit
unsafe MR.ConstBox_Vector3f._Underlying ** __ptr_storage_expansionFactor
unsafe MR.Std.Const_Vector_MRBox3f._Underlying ** __ptr_storage_preNestedVolumes
unsafe MR.Std.Const_Vector_MRNestingBoxNestingCorner._Underlying ** __ptr_storage_additinalSocketCorners

Properties

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

Constructor & Destructor Documentation

◆ Const_BoxNestingOptions() [1/5]

unsafe MR.Nesting.Const_BoxNestingOptions.Const_BoxNestingOptions ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_BoxNestingOptions() [2/5]

unsafe MR.Nesting.Const_BoxNestingOptions.Const_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_Bool_From_Float cb )
inline

Constructs MR.Nesting.BoxNestingOptions elementwise.

◆ Const_BoxNestingOptions() [3/5]

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

◆ Const_BoxNestingOptions() [4/5]

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

◆ Const_BoxNestingOptions() [5/5]

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

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Nesting.Const_BoxNestingOptions.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Nesting.Const_BoxNestingOptions.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ptr_storage_additinalSocketCorners

unsafe MR.Std.Const_Vector_MRNestingBoxNestingCorner._Underlying** MR.Nesting.Const_BoxNestingOptions.__ptr_storage_additinalSocketCorners
protected

◆ __ptr_storage_expansionFactor

unsafe MR.ConstBox_Vector3f._Underlying** MR.Nesting.Const_BoxNestingOptions.__ptr_storage_expansionFactor
protected

◆ __ptr_storage_preNestedVolumes

unsafe MR.Std.Const_Vector_MRBox3f._Underlying** MR.Nesting.Const_BoxNestingOptions.__ptr_storage_preNestedVolumes
protected

◆ __ref_storage_allow3dNesting

unsafe bool* MR.Nesting.Const_BoxNestingOptions.__ref_storage_allow3dNesting
protected

◆ __ref_storage_allowRotation

unsafe bool* MR.Nesting.Const_BoxNestingOptions.__ref_storage_allowRotation
protected

◆ __ref_storage_checkLessCombinations

unsafe bool* MR.Nesting.Const_BoxNestingOptions.__ref_storage_checkLessCombinations
protected

◆ __ref_storage_iterationLimit

unsafe int* MR.Nesting.Const_BoxNestingOptions.__ref_storage_iterationLimit
protected

◆ __ref_storage_volumeBasedOrder

unsafe bool* MR.Nesting.Const_BoxNestingOptions.__ref_storage_volumeBasedOrder
protected

Property Documentation

◆ additinalSocketCorners

unsafe MR.Std.? Const_Vector_MRNestingBoxNestingCorner MR.Nesting.Const_BoxNestingOptions.additinalSocketCorners
get

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

◆ allow3dNesting

unsafe bool MR.Nesting.Const_BoxNestingOptions.allow3dNesting
get

if true allows placing objects over the bottom plane

◆ allowRotation

unsafe bool MR.Nesting.Const_BoxNestingOptions.allowRotation
get

set false to keep original XY orientation

◆ cb

unsafe MR.Std.Const_Function_Bool_From_Float MR.Nesting.Const_BoxNestingOptions.cb
getprotected set

callback indicating progress of the nesting

◆ checkLessCombinations

unsafe bool MR.Nesting.Const_BoxNestingOptions.checkLessCombinations
get

reduces nesting candidate options for speedup

◆ expansionFactor

unsafe MR.? ConstBox_Vector3f MR.Nesting.Const_BoxNestingOptions.expansionFactor
get

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

◆ iterationLimit

unsafe int MR.Nesting.Const_BoxNestingOptions.iterationLimit
get

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

◆ preNestedVolumes

unsafe MR.Std.? Const_Vector_MRBox3f MR.Nesting.Const_BoxNestingOptions.preNestedVolumes
get

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

◆ priorityMetric

unsafe MR.Std.Const_SharedPtr_MRNestingIBoxNestingPriority MR.Nesting.Const_BoxNestingOptions.priorityMetric
getprotected set

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

◆ volumeBasedOrder

unsafe bool MR.Nesting.Const_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: