calculate Fermat Point

Returns the first Fermat point of a triangle with vertices (A,B,C).
20.0 次下载
更新时间 2023/6/19

查看许可证

calculateFermatPoint(A,B,C) returns the first Fermat point of a triangle with vertices (A,B,C).
https://wikipedia.org/wiki/Fermat_point: "In Euclidean geometry, the Fermat point of a triangle, also called the Torricelli point or Fermat–Torricelli point, is a point such that the sum of the three distances from each of the three vertices of the triangle to the point is the smallest possible[1] or, equivalently, the geometric median of the three vertices. It is so named because this problem was first raised by Fermat in a private letter to Evangelista Torricelli, who solved it."
This implementation was based off the Mathematica code by E. Coiras at:https://demonstrations.wolfram.com/FirstFermatPointAndIsogonicCenterOfATriangle/
Aaron Becker, atbecker@uh.edu and David Kramer
Last updated June 17, 2023
testCalculateFermatPoint.m Generates and plots a random triangle and the First Fermat Point. It tests the function calculateFermatPoint(A,B,C)
The vertex angles are less than 120° the First Fermat Point is in the interior of the triangle; otherwise it is the obtuse-angled vertex.

引用格式

Aaron T. Becker's Robot Swarm Lab (2024). calculate Fermat Point (https://www.mathworks.com/matlabcentral/fileexchange/131254-calculate-fermat-point), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.1

Formatted the description

1.0.0