← Back to team overview

yade-users team mailing list archive

Re: [Question #707857]: how to use inEllipsoid

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
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__

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