# Perp dot product and intersection point between 2 vectors

This topic is 2503 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## P.D: The full blog post is: http://www.tonypa.pr...tors/tut05.html

##### Share on other sites
Any source that talks about the "intersection of vectors" is something to go right to the trash can. You don't intersect vectors with each other.

The standard terms in computer graphics are line segment, ray and line. Line segment is defined by two endpoints. Ray and line are both defined by an endpoint and a direction vector. Ray spans infinitely from its starting point towards one direction, while a line spans infinitely into two directions.

The math for computing intersections between these primitives all boil down to the same function - computing the closest point pairs between two lines, and the math is the same for 2D and for 3D. See e.g. MathGeoLib's Line::ClosestPointLineLine for code and reference.

##### Share on other sites

Any source that talks about the "intersection of vectors" is something to go right to the trash can. You don't intersect vectors with each other.

The standard terms in computer graphics are line segment, ray and line. Line segment is defined by two endpoints. Ray and line are both defined by an endpoint and a direction vector. Ray spans infinitely from its starting point towards one direction, while a line spans infinitely into two directions.

The math for computing intersections between these primitives all boil down to the same function - computing the closest point pairs between two lines, and the math is the same for 2D and for 3D. See e.g. MathGeoLib's Line::ClosestPointLineLine for code and reference.

Thanks for the help . Anyway, this reference you have pointed out seems a different way to accomplish the same that the article I posted. Isn't it?.

1. 1
2. 2
Rutin
16
3. 3
4. 4
5. 5

• 26
• 11
• 9
• 9
• 11
• ### Forum Statistics

• Total Topics
633702
• Total Posts
3013451
×