If it's a regular octahedron, just take the absolute value of each coordinate, add them, and see if the resulting value is less than a certain threshold (ie. the size of your octahedron). If so, then your point lies inside it, otherwise not.
quasar3dMember Since 01 Dec 2001
Offline Last Active Dec 03 2014 10:44 AM