← Back to team overview

yade-users team mailing list archive

Re: [Question #235031]: Projected Area of clump

 

Question #235031 on Yade changed:
https://answers.launchpad.net/yade/+question/235031

Jan Stránský proposed the following answer:
Hello Sergio,


> http://www.real-world-physics-
> problems.com/images/physics_skydiving_8.png
>
perfect, exactly what I meant :-)


>
> I hope that the figure helps to understand what I mean : )
> I will continue to understand a little bit more the function that Yade
> uses now, beginning by founding it in the trunk version.
>
you can find the function in yade/py/utils.py file. It uses aabbExtrema
function inside, which you can find in yade/py/_utils.cpp file.

Now back to your problem. One thing came to my mind, you can estimate the
projected area by defining a grid and checking if the point of the grid is
contained by your clump or not. Along what axis you want to make the
projection? x/y/z or some generic axis?

Would you like to try to implement it, or should we help you by
implementing such function in Yade?

cheers
Jan

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.