Closed IlliaHryshchuk closed 4 years ago
As i understood, the convexHull method have to build a convex hull from all the points of 3D model? I mean that firstly we must move all points of 3D model to a plane (e.g. every point`s coordinate z = 0), and then we must build a convex hull from that points? and that hull will be a prototype of a foundation, right?
As i understood, the convexHull method have to build a convex hull from all the points of 3D model? I mean that firstly we must move all points of 3D model to a plane (e.g. every point`s coordinate z = 0), and then we must build a convex hull from that points? and that hull will be a prototype of a foundation, right?
Yes, you're right about prototype of foundation. But Polygon::convexHull() method builds convex hull only from points of 2D polygon object.
Related PR was merged, so you can close this issue