Dear all:<br><br>I am doing work on a judgement about relationship between a point and an arbitrary cube. I have known the 8 coordinates of the cube vertex and have draw it out, and also I have known the coordinate of one point. Then I want to judge whether this point is inside the cube or outside the cube. <br>
<br>One of my idea is first I rotate the arbitrary cube to make its three edges coincide with three axises (x, y, and z), and make one of its vertices on the origin of the coordinate system. But I don't know whether there are methods in VTK that can be used to realize this purpose ? Or does anyone have any other ideas on judging the relationship between the point and the cube ?<br>
<br>Thank you very much for your ideas !<br clear="all"><br>-- <br><br> ---------------------<br>Best Regards!<br><br>===============================================<br>Rong Xu, Ph.D Student<br>Ohya Lab<br>Graduate School of Global Information
and Telecommunication<br>Studies (GITS), Waseda University<br>1-6-1 Nishi Waseda, Shinjuku-ku,
Tokyo, Japan (¨“169-8050)<br><br>Tel: +81-80-4208-1207<br>E-mail: <a href="mailto:xurong1981@gmail.com" target="_blank">xurong1981@gmail.com</a><br> <a href="mailto:xurong@fuji.waseda.jp" target="_blank">xurong@fuji.waseda.jp</a><br>
===============================================<br><br>