# Barycentric coordinates of circumcenter of tetrahedron

This topic is 1820 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I'm looking for a way to express the center of a tetrahedron's circumcircle as a set of barycentric coordinates. The way I do it now is to first calculate the center coordinates and then in a second step convert those to their bc-equivalent.

On this blog the author seems to use a more efficient method: http://realtimecollisiondetection.net/blog/?p=20

I can't quite figure out how to translate that to the tetrahedral case though.

Thanks.

##### Share on other sites

The steps in the derivation are very similar to the steps in the triangle case and you should get:

Dot(B-A,B-A)*s + Dot(B-A,C-A)*t + Dot(B-A,D-A)*u = (1/2)*Dot(B-A,B-A)
Dot(C-A,B-A)*s + Dot(C-A,C-A)*t + Dot(C-A,D-A)*u = (1/2)*Dot(C-A,C-A)

Dot(D-A,B-A)*s + Dot(D-A,C-A)*t + Dot(D-A,D-A)*u = (1/2)*Dot(D-A,D-A)

which you can then solve using Cramer's rule (or something else).

##### Share on other sites

The steps in the derivation are very similar to the steps in the triangle case and you should get:

Yeah, I worked it out. Thanks.

• ### What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

• 15
• 14
• 46
• 22
• 27
• ### Forum Statistics

• Total Topics
634046
• Total Posts
3015219
×