Solving Linear Geometry for a 'projected intersection'

Click For Summary
SUMMARY

The discussion focuses on solving the problem of finding a projected intersection between two 3D line segments, referred to as f and s, using optimization techniques. The proposed method involves parameterizing the segments and minimizing the distance ||f-s|| to determine the closest points, which can indicate intersection. Additionally, a second minimization problem is suggested to find the minimal distance to a third vector, a, which is treated as a ray. The use of Gaussian Elimination for solving linear equations is questioned, with a recommendation to utilize optimization methods instead.

PREREQUISITES
  • Understanding of 3D geometry and line segments
  • Familiarity with optimization techniques in mathematics
  • Knowledge of linear algebra, specifically Gaussian Elimination
  • Proficiency in vector norms and distance calculations
NEXT STEPS
  • Explore optimization techniques for minimizing distances in 3D space
  • Learn about parameterization of line segments in vector calculus
  • Study the application of norms in distance calculations, specifically ||f-s||
  • Investigate alternative methods to Gaussian Elimination for solving linear equations
USEFUL FOR

Mathematicians, computer graphics developers, and engineers working on 3D modeling or collision detection who need to understand projected intersections and optimization in geometric contexts.

athuss
Messages
5
Reaction score
0
Working on another problem here with varying results. I have three line segments in 3D and am looking to find what would be a projected intersection between two. This projected intersection is defined by a ray that is perpendicular to the axis a and passes through both segments f and s.

f and s do not necessarily intersect, nor do either f and s with a. But there are occasions where the ray satisfies the perpendicular to the axis requirement, as well as passes through both f and s.

The ray does not need to be perpendicular to f and s.

I've gotten to a point where I have three linear equations with respect to line parameters t,u and v. But I haven't been able to correctly solve for the three values using Guassian Elimination.

Just wondering if this is the best (or even correct) way to go about it or is there an easier (simpler?) method.

Thanks the for help.
 

Attachments

  • handwritten.jpg
    handwritten.jpg
    16.9 KB · Views: 469
Physics news on Phys.org
Hey athuss and welcome to the forums.

One suggestion I have is that since f and s don't necessarily intersect, what you could do is turn this into an optimization problem where give a parameterization of both f and s for some parameter t and u (for f and s respectively) and maintaining that you have boundaries for the t and u variables (since they are rays and not lines), you find the situation where ||f-s|| is minimized.

If you get a zero distance, then it means that they intersect but otherwise, you get the point of intersection at the perpendicular distance because in normal cartesian geometry, things are minimized when they are perpendicular to one another.

Once you have this then you do another minimization problem to find the minimal distance between the point you obtained above, and the line segment corresponding to the vector a (you can also treat a as a ray by restriction the domain of the parameterization). The idea behind this is that the minimal distance corresponds to a perpendicular distance.

So once you have the point on a and the point for (f,s) rays (even if they don't intersect), then you have all the information required.

In terms of how to do the optimization, use the norm equation to be ||f-s||^2 = <f-s,f-s> and take it from there (where you have f and s in terms of t and u and some restriction on t and u).

Have you done optimization before at any level?
 

Similar threads

Replies
4
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
8K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K