WIP: Optimization of the object's 2D convex silhouette for arrangement,
not working yet.
This commit is contained in:
parent
282ef552f9
commit
adb96bdc2e
4 changed files with 100 additions and 18 deletions
src/libslic3r
|
@ -207,8 +207,7 @@ static bool sort_pointfs(const Vec3d& a, const Vec3d& b)
|
|||
}
|
||||
|
||||
// This implementation is based on Andrew's monotone chain 2D convex hull algorithm
|
||||
Polygon
|
||||
convex_hull(Points points)
|
||||
Polygon convex_hull(Points points)
|
||||
{
|
||||
assert(points.size() >= 3);
|
||||
// sort input points
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue