Reuleaux triangle and friends
A Reuleaux triangle is a shape of constant width based on an equilateral triangle. Its not actually a triangle, but it has some interesting properties. Formost, constant width means that in principle it would make just as good a cross-section for a roller as a circle (though not for a wheel).
There are many other shapes with constant width, and this code allows you to generate
- extended Reuleaux triangles
- Reuleaux polygons
The code also comes with a couple of scripts for manipulating them. The most obvious allows you to see what happens when it is rolled. The second shows how a Reuleaux triangle can be used as a cross section to drill almost square holes.
There are lots of comments, and references in the code, and a test script to show you how to call the functions.
引用
Matthew Roughan (2024). Reuleaux triangle and friends (https://www.mathworks.com/matlabcentral/fileexchange/30967-reuleaux-triangle-and-friends), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |