Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

brick - internal angles.

Status
Not open for further replies.

zampa

Automotive
Joined
Oct 3, 2011
Messages
4
Location
ES
Hi.

I want to calculate the minimal internal angle of a 3D-brick ,resulting from a trilinear interpolation ( with the minimal computacional cost.

Of course, I can take for each node, a pair of vectors and calculate the angle between them (for example, using cosinus).

But is there any faster way to get the minimal interior angle.

My input are 8 vertices in 3D Space.

Thanks.
 
Of course, I can take for each node, a pair of vectors and calculate the angle between them (for example, using cosinus).

that's the best way imo. use numpy for better results, as calculating in py for every element in computationally intensive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top