Clipping capsule against plane

Started by
1 comment, last by Dirk Gregorius 12 years, 6 months ago
I am trying to compute the centroid and volume of the shape that results from clipping a capsule against a plane. Anything I have tried to far gets really complex. A reasonable approximation would be fine as well.
Advertisement

A reasonable approximation would be fine as well.


What is 'reasonable'? Have you tried approximating the capsule by a box? You can of course approximate the capsule by some more refined mesh and just clip it against the plane but the resulting algorithm for clipping, volume and centroid computation will again be fairly complex.


Well, this is just to get some approximation to the submerged volume to compute buoyancy. A box might be indeed sufficient. Thanks!

This topic is closed to new replies.

Advertisement