Click here to Skip to main content
15,995,072 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is there any code out there on how to calculating X and y point based on an angle and draw a line then add an angle at the end of the line? the angle between two line i other words. Good example in C# is a project that Developed by Jesper Kristiansen. Only that been done with WPF?
Posted
Comments
Sergey Alexandrovich Kryukov 26-Oct-11 12:31pm    
Not a valid question. What do you want to achieve and why? Why cannot you just right code you need?
--SA

Chances are, you won't find such "application". The reason is: nobody needs such application, including you. How about finding application "for creating points"? For creating purple ellipses while playing "Mary had a little lamb"? :-) Same thing.

All you need is some knowledge and experience. You can only get it by learning some elementary mathematics (sorry if I'm mistaken here, but I looks like your question suggests that this is one of your problems) and some programming. If you need WPF or some other particular UI technology, learn it. Best way to learn it is trying to write the mathematical calculations some WPF (or whatever you might need) application(s).

And when you face some problems or doubts in this way, you will be able to ask some valid questions; and we will gladly help you.

Best wishes,
—SA
 
Share this answer
 
Comments
Espen Harlinn 26-Oct-11 15:14pm    
Learning is always a good thing
Sergey Alexandrovich Kryukov 26-Oct-11 15:35pm    
Thank you, Espen.
--SA
Here is a great series that you may find helpful WPF Diagram Designer - Part 4[^]

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Oct-11 15:37pm    
Good link, my 5. Certainly an overkill for this vague and illiterate question, but a good one to know.
--SA
Espen Harlinn 26-Oct-11 15:41pm    
Thanks, Sergey, it's a good series - I turned it into a control a while back, and adorners drives designtime integration in Visual Studio, so there is a lot of useful stuff to learn from those articles :)
Anybody done a WPF application similar to this great author?

[OpenS-CAD]
 
Share this answer
 
v2

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