Closed dlegland closed 1 year ago
Two questions remain: What should be the output if the plane is same as polygon plane? Should we rename this function to: clipPolygonByPlane3d?
Maybe reopen till final decision?
Yes, I agree.
my opinion about the two questions:
best, David
Sounds good!
One more question. Before processing the input polygon it is checked if all points are in a plane. What tolerance would you use here? At the moment it is. 1e-8. But maybe you use some other (default) tolerance in other functions?
Kind regards
Sounds good!
One more question. Before processing the input polygon it is checked if all points are in a plane. What tolerance would you use here? At the moment it is. 1e-8. But maybe you use some other (default) tolerance in other functions?
Kind regards
I've changed it to 1e-14 now.
Hi,
there is no absolute default for tolerance within the library. I often use 1e-8, but other functions use 1e-12. Value 1e-14 is fine as well for me.
The problem is that this often depends on the range of input data. I usually try to make the tests on normalized values, but there stille may be some uncoverd cases;
There are still two todos in clipPolygon3dHP