use center of enforcer only with spAligned

This commit is contained in:
Lukas Matena 2020-09-11 16:27:06 +02:00
parent fffb79a085
commit 8dd345ed4c
2 changed files with 22 additions and 10 deletions

View file

@ -36,7 +36,7 @@ private:
void apply_custom_seam(const Polygon& polygon,
std::vector<float>& penalties,
const std::vector<float>& lengths,
int layer_id) const;
int layer_id, SeamPosition seam_position) const;
// Return random point of a polygon. The distribution will be uniform
// along the contour and account for enforcers and blockers.