If it's a wrong result I'd say it's a bug.

Aaron Meurer

On Thu, Dec 18, 2014 at 3:38 AM, Gaurav Dhingra <[email protected]> wrote:
>  Hi all,
>
> I am new to Sympy (and to symbolic computations...)
> I am having problem in the Geometry topic, i am using the
> sympy.geometry.entity.encloses function which is as follows
>
>
> In [1]  from sympy.geometry import *
>                 from sympy import S
>
> In [2]  t = Triangle(Point(0, 0), Point(1, 0), Point(0, 1))   # a triangle
> having the vertices (0, 0), (1, 0), (0, 1)
>
> In [3]  c1 = Circle(Point(S(1)/3, S(1)/3), S(1))                   # a
> circle having the center (1/3, 1/3) and radius 1, the circle "c1" somepart
> of it lies outside the triangle "t"
>
> In [4]    t.encloses(c1)
> # which returns true
> Out [4] True
>
>
> Am i having a "bug" here or i am not understanding its use.
>
> Thanking you
> Gaurav Dhingra(  [email protected])
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/0923d186-f9fa-44ee-9568-1a2348443e05%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6KRi8uM8TUqJot-sEbZAmjESQKP0xJMVMoMk08a2it0yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to