Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
in a shelf wall i caliber the 3 corners i.e i caliberd with (x y z ) for the three corners and after caliber i give x y point for and how to find that point using zplane method or any other suggestions?

What I have tried:

in a shelf wall i caliber the 3 corners i.e i calibered with (x y z ) for the three corners and after caliber i give x y point for and how to find that point using z-plane.
Posted
Updated 20-Nov-16 23:14pm
v2
Comments
OriginalGriff 21-Nov-16 4:45am    
Repost, of your reposted repost... Deleted.

If I understand your problem correct you must work with 3D coordinates to find the solution. For sake of sanity the wall should be the z-plane with zero value. It comes down to some 3D-vector mathematics.

The mathematical theory is explained in this Intersection of Lines and Planes and extended inIntersection of Rays and Triangles.

Eventuelly you find in this article some ideas of what you need.

Pay attention to properly check for edge and error cases like the divisor getting zero or the signs (direction of the vector).
 
Share this answer
 
It is the same question, so it is the same answer.

More or less with the 3 3D points you define a pan and you want to know where a line will cross that pan, it is 3D geometry, with little research, the mathematics are not difficult to find.

As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better.
Creating an algorithm is basically finding the maths an make necessary adaptation to fit your actual problem.

Show you work and tell us where you are stuck.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900