how to use inEllipsoid

Asked by Horation

How to use the pack.inEllipsoid? pred=pack.inEllipsoid((1,2,1),(1,1,1),(1,1,1)) is this right? Please show me an example.

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

> pack.inEllipsoid((1,2,1),(1,1,1),(1,1,1))
> is this right?

No.
The easiest way is to try it. It would result in error, suggesting it is not correct.
See documentation [1]

> Please show me an example.

pred=pack.inEllipsoid(centerPoint=(1,2,3),abc=(4,5,6))

Cheers
Jan

[1] https://yade-dem.org/doc/yade.pack.html#yade._packPredicates.inEllipsoid.__init__

Can you help with this problem?

Provide an answer of your own, or ask Horation for more information if necessary.

To post a message you must log in.