2d 3d形状 [英] 2d 3d shapes

查看:92
本文介绍了2d 3d形状的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我有一个关于c#的项目

它是一个2d 3d形状(矩形,杯形,正方形,球形等)绘制程序,用户可以选择要绘制的图案并输入该形状值.形状将出现在屏幕上,有知道我该怎么办?

Hello,

I have a project about c#

It''s a 2d 3d shapes(rectangle,cupe,square,sphere...etc) drawing program,user will choose which pattern would like to draw and will enter that shapes values.Shapes will come out on the screen,have any I idea how can I do it ? PLEASE I NEED HELP ASAP!!!

推荐答案

写道:​​

请我需要尽快帮助!!!

PLEASE I NEED HELP ASAP!!!



如果您甚至在开始此项目之前就需要帮助,为什么要这样做?是上课吗?你知道怎么办?您是要使用DirectX,还是只是绘制看起来像3D一样的形状?您是否要跟踪形状,在绘制形状后进行选择?您想旋转形状吗?

您有什么经验可以使您感到自己能够完成此任务,并且在什么情况下(有偿工作/家庭作业/乐趣)编写它?



If you need help before even starting this project, why are you doing it ? Is it for a class ? What do you know how to do ? Do you want to use DirectX, or just draw shapes that LOOK like they are in 3D ? Do you want to keep track of shapes, to select them after they are drawn ? Do you want to be able to rotate a shape ?

What experience do you have that makes you feel you''re able to complete this task, and in what context are you writing it ( paid work/homework/fun ) ?


它"上学的时候,我实际上不知道如何开始.无论我用什么,都不需要旋转为形状,也不需要跟踪形状.

这是面向对象的编程课程,仅剩7天的时间带给讲师.

感谢您的快速回答.
It''s for school,I have actually no idea how to start with.No matter whatever I use.I don''t need to rotate to shapes also I don''t need to keep track of shapes.

It''s for object oriented programming lesson,only 7 days left to bring it to lecturer.

Thanks for answering this fast.


好吧,那么您的老师假设您知道该怎么做.我希望OO部分将创建一个基础Shape类,然后为您将绘制的不同形状创建派生类.您不了解哪些位?
Well, then your teacher assumes you know how to do it. I expect the OO part will be creating a base Shape class, then creating derived classes for the different shapes that you would draw. Which bits do you not understand ?


这篇关于2d 3d形状的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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