Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
libnest2d.hpp File Reference
+ Include dependency graph for libnest2d.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  libnest2d::NestConfig< Placer, Selector >
 
struct  libnest2d::NestControl
 

Namespaces

namespace  libnest2d
 

Typedefs

using libnest2d::Point = PointImpl
 
using libnest2d::Coord = TCoord< PointImpl >
 
using libnest2d::Box = _Box< PointImpl >
 
using libnest2d::Segment = _Segment< PointImpl >
 
using libnest2d::Circle = _Circle< PointImpl >
 
using libnest2d::MultiPolygon = TMultiShape< PolygonImpl >
 
using libnest2d::Item = _Item< PolygonImpl >
 
using libnest2d::Rectangle = _Rectangle< PolygonImpl >
 
using libnest2d::PackGroup = _PackGroup< PolygonImpl >
 
using libnest2d::FillerSelection = selections::_FillerSelection< PolygonImpl >
 
using libnest2d::FirstFitSelection = selections::_FirstFitSelection< PolygonImpl >
 
using libnest2d::DJDHeuristic = selections::_DJDHeuristic< PolygonImpl >
 
template<class Bin >
using libnest2d::_NfpPlacer = placers::_NofitPolyPlacer< PolygonImpl, Bin >
 
using libnest2d::NfpPlacer = _NfpPlacer< Box >
 
using libnest2d::BottomLeftPlacer = placers::_BottomLeftPlacer< PolygonImpl >
 

Functions

template<class Placer = NfpPlacer, class Selector = FirstFitSelection, class Iterator = std::vector<Item>::iterator>
std::size_t libnest2d::nest (Iterator from, Iterator to, const typename Placer::BinType &bin, Coord dist=0, const NestConfig< Placer, Selector > &cfg={}, NestControl ctl={})
 
template<class Placer = NfpPlacer, class Selector = FirstFitSelection, class Container = std::vector<Item>>
std::size_t libnest2d::nest (Container &&cont, const typename Placer::BinType &bin, Coord dist=0, const NestConfig< Placer, Selector > &cfg={}, NestControl ctl={})
 
template<class T = double>
enable_if_t< std::is_arithmetic< T >::value, TCoord< PointImpl > > libnest2d::mm (T val=T(1))