After converting a 2D point to a 3D point (through whatever method - the example with the plane was just one of many), we have a 3D point. We can do with it all the normal operations that can be done with a 3D point.
The user is free to define any plane. On 24 May 2014 09:38, Akshay Narasimha <akshaynukal...@gmail.com> wrote: > I think there is a bit of misunderstanding, are u saying that after > converting a 2D point to 3D using a plane we can then find the distance > between this converted point and another 3D point ,otherwise what is the use > of using a plane? and which plane do you intend to use in the above > transformation ? > > > > On Sat, May 24, 2014 at 12:15 PM, Stefan Krastanov > <stefan.krasta...@yale.edu> wrote: >> >> > We could do it in the Plane class as you above described but that would >> > also >> > require a lot of if instance statements in the plane class as well as >> > we >> > have to check whether a point is 2D or 3D and act accordingly. >> >> I do not see why this would be the case. Could you give an example? >> Projections work only on 3d points. Promotion to 3d works only on 2d >> points. These are very different operations. There is no need of >> switch/case statements. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "sympy" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sympy/hqHC-9cA9UM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> sympy+unsubscr...@googlegroups.com. >> To post to this group, send email to sympy@googlegroups.com. >> 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/CAD8szLy4xpdsYEnZxuAjdzvcfXhxre9iqqFzaL6fHh42QR_oYQ%40mail.gmail.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 sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > 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/CAC_H1WEnuvyE9EWpjL0fiF2vWErT-D4M9ytKt6DDWPqk-SKm7w%40mail.gmail.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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. 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/CAD8szLx2q6D6bW-xibn4WTeJ7-xkCpjnM%2BvBMEJiieJOOfGrZA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.