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.
2 つの線分 L1(p1,p2) と L2(p3,p4) が交差しているかどうかを確認するにはどうすればよいですか? 交差点は必要ありません。交差するかどうかを知る必要があるだけです。私のアプリケーションはこれを大量に計算するため、迅速な解決策を見つける必要があります。
ありがとう
私は単にそれを行うメソッドを使用するか、再実装したい場合はそのソースコードを見てください: Line2D.linesIntersect()