Calculate internal angles of an Trilinear interpolation Cube
Does anybody know the (computational) fastest way to calculate the internal angles (minimal internal angle) of a cube, result of a trilinear interpolation between 8 points, in 3D space, of course.
I guess you meant a hexa rather than a cube.
A straightforward way is computing angles from scalar product of vectors. Doing this for all the combinations you need, you can find the minimum angle.
Not sure this is the fastest way, and whether it is what you were asking.
Ok. Yes, itīs a hexa, resulting from a trilinear interpolation between 8 vertices.
And yes, actually I use the common way calculating each vector and the angles between them.
I could save time, by allocating a Matrix with all vectors. So I only compute each vector one time.
But does anyone know of a method, for example taking some diagonal, in order to save computacional cost?
|All times are GMT -4. The time now is 21:26.|