← Back to team overview

yade-users team mailing list archive

[Question #690618]: How to define Axis-Aligned Bounding Box more accurately in the irregular polyhedron of Potential Blocks?

 

New question #690618 on Yade:
https://answers.launchpad.net/yade/+question/690618

Dear all,

If the Axis-Aligned Bounding Box is not accurately defined in Potential Blocks, what effect will it have on contact? How to define Axis-Aligned Bounding Box more accurately for irregular polyhedron such as regular dodecahedron?

In [1] I found that the Axis-Aligned Bounding Box of one polyhedron is defined as minAabb = 1.05 * Vector3 (0.4 * wallThickness, 0.5 * heightOfBase, 0.5 * lengthOfBase), maxAabb = 1.05 * Vector3 (0.4 * wallThickness, 0.5 * heightOfBase , 0.5 * lengthOfBase). Why is minAabb and maxAabb the same, which means that the Axis-Aligned Bounding Box is a cube of what size?

Best regards,
Jie

[1]https://gitlab.com/yade-dev/trunk/-/blob/master/examples/PotentialBlocks/cubePBscaled.py#L183

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.