How to draw a 3D circle that is tangent to two lines
3 ビュー (過去 30 日間)
古いコメントを表示
MingCheng Zhang
2020 年 10 月 23 日
コメント済み: MingCheng Zhang
2020 年 11 月 24 日
Hi,
May I ask that, I have two 3D lines on the same plane, and I have two known point on the individual line. the angle between two lines is unknown. And now I want to draw a circle that is tangent to both of the lines (on the same plane), and intersect the two known points. Is there a way to do this in matlab. Really appreciated for the help.
Thank you.
2 件のコメント
Sindar
2020 年 10 月 23 日
First, you need to know how to do it "by hand," then you can code the math up in Matlab. This (non-Matlab) question seems relevant
採用された回答
John D'Errico
2020 年 11 月 23 日
編集済み: John D'Errico
2020 年 11 月 23 日
First, if the lines are in the same plane, then you can pretend this is a problem in 2-dimensions. You can always rotate everything into the plane containing the lines. That part is easy enough. So pretend you have done so.
Now consider two lines that are NOT parallel, both of which lie in the plane. They must intersect at some point.
What is the circle that is tangent to both lines? Hint: There is no unique circle. There are INFINTELY many circles tangent to two intersecting lines. All such circles have their center along the line passing through the intersection of the lines.
So you cannot draw THE circle.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Object Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!