是否有用于创建直线和角度的WPF应用程序 [英] Is there a WPF application for creating lines and angles

查看:69
本文介绍了是否有用于创建直线和角度的WPF应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有关于如何基于角度计算X和y点并绘制直线然后在直线末端添加角度的代码?换句话说,两条线之间的角度. Jesper Kristiansen开发的一个项目在C#中就是一个很好的例子.

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?

推荐答案

机会是,您找不到这样的应用程序".原因是:没有人需要这样的应用程序,包括您.如何找到用于创建点"的应用程序?为了在玩玛丽有只小羊羔"时制作紫色椭圆形? :-)一样.

您需要的只是一些知识和经验.您只能通过学习一些基础数学(如果我在这里错了,很抱歉,但是我好像您的问题表明这是您的问题之一)来进行编程.如果您需要WPF或某些其他特定的UI技术,请学习它.最好的学习方法是尝试在一些WPF(或任何您需要的)应用程序中编写数学计算.

这样,当您遇到一些问题或疑虑时,您将可以提出一些有效的问题.我们很乐意为您提供帮助.

最好的祝福,
—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


这是一个很棒的系列,对您可能会有所帮助 ^ ]

最好的问候
Espen Harlinn
Here is a great series that you may find helpful WPF Diagram Designer - Part 4[^]

Best regards
Espen Harlinn


有人做过与这位伟大作者相似的WPF应用程序吗?

[ OpenS-CAD ]
Anybody done a WPF application similar to this great author?

[OpenS-CAD]


这篇关于是否有用于创建直线和角度的WPF应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆