- The Modern C# Challenge
- Rod Stephens
- 58字
- 2021-08-13 15:24:01
31. Point-segment distance
Write a program that determines the closest point and shortest distance between a point and a line segment. Let the user left-click twice to define the segment and right-click once to define the point. Draw the segment and point, and a dashed line showing the shortest distance, as shown in the following screenshot:
推薦閱讀
- 432級(jí)臺(tái)階之第2級(jí)臺(tái)階
- 數(shù)學(xué)星球:人類文明與數(shù)學(xué)(萬(wàn)物皆數(shù)學(xué))
- 數(shù)學(xué)不簡(jiǎn)單:從《最強(qiáng)大腦》發(fā)現(xiàn)思維樂(lè)趣
- Hands-On Blockchain Development in 7 Days
- 小數(shù)學(xué)家應(yīng)該知道的數(shù)學(xué)故事
- MATLAB矩陣分析和計(jì)算
- 現(xiàn)代數(shù)值計(jì)算(第2版)
- 物性數(shù)學(xué)及其應(yīng)用
- 數(shù)學(xué)與決策:數(shù)學(xué)教你做決定
- Abaqus有限元分析從入門到精通(2022版)
- ANSYS Workbench 2020有限元分析從入門到精通(升級(jí)版)
- 數(shù)學(xué)多大點(diǎn)事兒
- 微積分Ⅱ
- 數(shù)學(xué)故事總動(dòng)員
- 運(yùn)籌學(xué)