Original Post
I'm looking for a solution, similar to barycentric coordinates for a triangle, where any point inside or on a box can be defined by the eight vertexes of a box with the weights of all points adding up to one. I have been looking through a couple books and online references and I've been unable to turn anything up. An even better solution would be one in which a point could be defined by an affine combination of any number of vertexes as long as that point is contained on or within the object defined be those verts. This means anything as simple as a line to something as complex as my original box problem, or beyond. Any nudge in the right direction would be greatly appreciated. Thanks!