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.
パスを記述するポイント (x、y 座標) のリストがあります。{(1,1),(2,2),(5,2)} がパスのポイントのリストであるとします。
ここで、パスに沿って移動する方法をユーザーに指示したいと思います。たとえば、各ポイントには、ユーザーが次のポイントに移動する方法を説明する文字列が添付されます。「左に 90 度進む」、「右に 35 度進む」などです。
それを行うためのアルゴリズムまたは提案された方法はありますか?
問題の説明の一部が理解できない場合はお知らせください。