libnest2d: Remove old preload method from selector interface
This commit is contained in:
parent
aff1863aed
commit
c82fb9c84f
@ -737,17 +737,6 @@ public:
|
|||||||
return impl_.getResult();
|
return impl_.getResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Loading a group of already packed bins. It is best to use a result
|
|
||||||
* from a previous packing. The algorithm will consider this input as if the
|
|
||||||
* objects are already packed and not move them. If any of these items are
|
|
||||||
* outside the bin, it is up to the placer algorithm what will happen.
|
|
||||||
* Packing additional items can fail for the bottom-left and nfp placers.
|
|
||||||
* @param pckgrp A packgroup which is a vector of item vectors. Each item
|
|
||||||
* vector corresponds to a packed bin.
|
|
||||||
*/
|
|
||||||
inline void preload(const PackGroup& pckgrp) { impl_.preload(pckgrp); }
|
|
||||||
|
|
||||||
void clear() { impl_.clear(); }
|
void clear() { impl_.clear(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@ public:
|
|||||||
|
|
||||||
inline void stopCondition(StopCondition cond) { stopcond_ = cond; }
|
inline void stopCondition(StopCondition cond) { stopcond_ = cond; }
|
||||||
|
|
||||||
inline void preload(const PackGroup& pckgrp) { packed_bins_ = pckgrp; }
|
|
||||||
|
|
||||||
inline void clear() { packed_bins_.clear(); }
|
inline void clear() { packed_bins_.clear(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user