Center of Mass of a Tetrahedron
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
I am working on a problem, I have four points (x1,y1,z1),(x2,y2,z2),(x3,y3,z3),(x4,y4,z4) which can form tetrahedron. I have checked it with tetramesh. I need to find the Center of Mass of these four points. Little background of the points; these are x-easting, y-Northing and z-elevation of ground, I have thousands of points like this.
I am looking for a function file which could give me output as Center of mass of tetrahedron.
Antworten (1)
Roger Stafford
am 28 Mai 2015
1 Stimme
((x1+x2+x3+x4)/4,(y1+y2+y3+y4)/4,(z1+z2+z3+z4)/4)
2 Kommentare
Image Analyst
am 28 Mai 2015
Everything I've seen says that Roger is correct (as usual). For example: http://en.wikipedia.org/wiki/Centroid#Of_triangle_and_tetrahedron
Roger Stafford
am 29 Mai 2015
Bearbeitet: Roger Stafford
am 29 Mai 2015
It's a simple problem in integration, Sairavichand. Take triangular slices of a solid tetrahedron parallel to one of its faces. It is easy to show that the volume would be one third the area of the face multiplied by the orthogonal altitude of the fourth vertex from the face. If you compute the first moment along this altitude as measured from the fourth vertex, it will give a value of one-fourth the area multiplied by the altitude squared. Hence the ratio will be three-quarters the altitude, again as measured from that fourth vertex. This will be the answer no matter which face is used, and the only point that can satisfy such a requirement is the centroid of the four individual vertices. QED
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!