Hacker News new | past | comments | ask | show | jobs | submit login

"A plane in 3D space can be thought of as a flat surface that stretches infinitely far, splitting space into two halves."

Fun fact - if you have the coefficients of the equation ax+by+cz+d=0 that represents your plane, you can plug any point (x,y,z) into the expression ax+by+cz+d, and the result will be positive in one half-space, and negative in the other. I think if you divide the values by sqrt(a^2+b^2+c^2), you end up with the distance from the point to the plane. Easy enough to see which half-space is which by plugging in the origin. I.e., if 'd' is positive, the origin is in the positive half.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: