Hello,
I imagine this is a super simple math issue and my brain has just turned to mush but how would I go about getting the corner/ intersection point of 2 points that are at an angle from each other. Please see the attached image for an example.
Thanks
Get the corner position of a diagonal line
853 2 1- JohnDoe777
- Member
- 31 posts
- Joined: Dec. 2014
- Offline
- Jikian
- Member
- 131 posts
- Joined: Aug. 2012
- Offline
This question contains several ambiguities that should be taken into account:
- if you define the corner point as "equidistant" from the 2 provided points, you get infinite points on the bisecting plane of the line.
- if you define the corner point as "right angle" you get infinite points on a sphere (which the line is the diameter of)
However, if both of these definitions are adhered to, you still get infinite valid points on a circle. More information is needed to get a unique solution.
If the context of the problem is to find a corner on the 3D bounding box of this line, you can pick and choose xyz components of each endpoint and combine them.
- if you define the corner point as "equidistant" from the 2 provided points, you get infinite points on the bisecting plane of the line.
- if you define the corner point as "right angle" you get infinite points on a sphere (which the line is the diameter of)
However, if both of these definitions are adhered to, you still get infinite valid points on a circle. More information is needed to get a unique solution.
If the context of the problem is to find a corner on the 3D bounding box of this line, you can pick and choose xyz components of each endpoint and combine them.
- CYTE
- Member
- 669 posts
- Joined: Feb. 2017
- Offline
-
- Quick Links