Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个可以指向任何方向的箭头。我需要在特定距离处画一个点。该点需要保持在箭头的正确一侧。我该怎么做呢?我知道箭头的角度。
插图:
--->
○
您已经知道箭头的角度和位置,所以您应该做的只是根据箭头端点(钝端点)和箭头 + 90º 的方向绘制点。
如果你有一个代表箭头的向量,你可以制作一个单位向量,然后将它乘以你想要的长度,并将点放在新的缩短向量的末尾。