![]() |
|
Lines intersection - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9) +--- Thread: Lines intersection (/showthread.php?tid=4431) |
Lines intersection - Onisim - 11-17-2023 How to get the Point3D of a two intersected lines? I want to get the intersection Point3D of two or more lines (LineVisual3D) from VisualSpace (or ViewPort). RE: Lines intersection - abenedik - 11-20-2023 For such general 3D graphics problems, it is best to search the internet for the anwser. For example, I found an answer to your question on stackoverflow (https://stackoverflow.com/questions/2316490/the-algorithm-to-find-the-point-of-intersection-of-two-3d-line-segment) - on answer mentioned the code on https://bloodstrawberry.tistory.com/1037 I have updated the code to work with WPF 3D objects (Point3D and Vector3D): Code: public double GetDistanceTwoLine(Point3D A, Point3D B, Point3D C, Point3D D)RE: Lines intersection - Onisim - 11-20-2023 I understand. Thank you very much! |