I am working on a Java project that really kills me. After several days of research in various forums, looking for what I really need, I come to ask your help.
My details:
- .Ply file (containing a three-dimensional shape consisting of a large number of triangles)
- Point (3D coordinates)
I would like to know if this point is contained within a complex three-dimensional figure.
I divided this problem into two smaller tasks:
How can I imagine a complex three-dimensional shape in memory? (I found several libraries, but it seems very difficult for the task I want to do: Java3D, JBullet, JME3 ...) I do not want my Java application to display the object at the moment.
How do I know if this point is inside a 3D shape or not? (I thought the 3D vector starts from a point and counts the number of intersections with the form, but I donβt see how to do this, and can the witch library be used?)
There may be simpler ways to do this, and so I come to you. I am really stuck now, and I would like, if possible, without writing custom libraries ...
(Sorry for my letter, I'm not English ^^)
Thanks for helping me.
source share