Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
libnest2d::NestControl Struct Reference

#include <src/libnest2d/include/libnest2d/libnest2d.hpp>

Public Member Functions

 NestControl ()=default
 
 NestControl (ProgressFunction pr)
 
 NestControl (StopCondition sc)
 
 NestControl (ProgressFunction pr, StopCondition sc)
 

Public Attributes

ProgressFunction progressfn
 
StopCondition stopcond = []{ return false; }
 

Detailed Description

Constructor & Destructor Documentation

◆ NestControl() [1/4]

libnest2d::NestControl::NestControl ( )
default

◆ NestControl() [2/4]

libnest2d::NestControl::NestControl ( ProgressFunction  pr)
inline
84: progressfn{std::move(pr)} {}
ProgressFunction progressfn
Definition libnest2d.hpp:80

◆ NestControl() [3/4]

libnest2d::NestControl::NestControl ( StopCondition  sc)
inline
85: stopcond{std::move(sc)} {}
StopCondition stopcond
Definition libnest2d.hpp:81

◆ NestControl() [4/4]

libnest2d::NestControl::NestControl ( ProgressFunction  pr,
StopCondition  sc 
)
inline
87 : progressfn{std::move(pr)}, stopcond{std::move(sc)}
88 {}

Member Data Documentation

◆ progressfn

ProgressFunction libnest2d::NestControl::progressfn

◆ stopcond

StopCondition libnest2d::NestControl::stopcond = []{ return false; }

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