Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,
I have a arc start point, end point, center point. I am unable to set the projection for arc.
Please reply any clue to find arc projection.
Posted
Comments
Kornfeld Eliyahu Peter 10-Feb-14 10:02am    
Show your code, please...
lukeer 5-Mar-14 5:09am    
What exactly do you mean by "projection"?
You have 3 points. Do you need to transfer them to another coordinate system (that one of the observer, camera, screen, whatever you want to call it)?
Do you need to process the actual pixels that make the arc up?

Please Improve your question[^].

1 solution

Here is the step to get the arc with 3 points in 3D.
1) First, find a plane with all 3 points on it.
2) Then, find the center of circle on this plane based on these 3 points.
3) With known center, find the starting and ending points out of these 3 points.
4) Connect the starting point and ending points, based on the center of circle.
 
Share this answer
 
Comments
lukeer 5-Mar-14 5:03am    
Erm, ..., OP already knows 2) and 3). Question sounds like it's all about how to do 4).

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