Hi all,
Got a bit of work to do when i have to decide on what design patterns to use and explain why. Unfortuntely I'm stuck on a question and there isn't anyone aorund to help me. I'll copy and paste the part of the question:
“The CAD system will contain a primary class called SEModel. This will store and manage the model being created in the CAD software. Each model is made up of a number of components, which are described with the SEComponent class. The SEComponent class stores information about the shape of the component being modelled, its colour and material properties. It provides an interface to allow information to be queried, the component to be rendered and editing operations to be performed.
A hierarchy of components can be modelled in the system. This is not done in the SEModel class but in the SEComponent class. Each component stores a reference to its parent component, if it has one (ie. if it is part of a hierarchy). If it does not, the reference pointer will be null.
The CAD software renders information to an on-screen view represented by the SEView class. Information about each component is displayed in various SEEditField objects used to show on-screen edit fields.”
You have identified a number of key areas of the design where more attention is needed. These are…
(i) The application needs to report information about a component’s position, orientation and material properties to the user.
Its just the (i) part I need help with
I'm guessing that this requires a structural pattern, but I've no idea if I'm right or which one.
It just seems so simple that why would it even need a pattern?
Any advice would be much appreciated
Thanks
Anyone good with design patterns?stuck on a design pattern question, should be quite a simple one but i
Page 1 of 1
5 Replies - 1912 Views - Last Post: 30 August 2006 - 06:07 AM
Replies To: Anyone good with design patterns?
#2
Re: Anyone good with design patterns?
Posted 29 August 2006 - 01:58 PM
Wow, CAD.... I dunno where to put this topic...
It's kinda graphical related no? Let's try Graphics.
It's kinda graphical related no? Let's try Graphics.
#3
Re: Anyone good with design patterns?
Posted 29 August 2006 - 02:05 PM
MarkoDaGeek, on 29 Aug, 2006 - 01:58 PM, said:
Wow, CAD.... I dunno where to put this topic...
It's kinda graphical related no? Let's try Graphics.
It's kinda graphical related no? Let's try Graphics.
It doesn't really have anything to do with CAD, its about applying particular design patterns to design problems, CAD is just an example they use for the question.
I wasn't sure where to put it either, but graphics it definately isn't, could you just put it in a general programming one?
Cheers
#5
Re: Anyone good with design patterns?
Posted 30 August 2006 - 05:47 AM
This looks interesting... and to be clear I said looks 
Could you give some further technical detail about what you are using to implement the solution?
Computer language
development environment,
Operating System,
Platform?
I would like to be sure.
Could you give some further technical detail about what you are using to implement the solution?
Computer language
development environment,
Operating System,
Platform?
I would like to be sure.
#6
Re: Anyone good with design patterns?
Posted 30 August 2006 - 06:07 AM
This may, in fact, be a conceptual question, as opposed to an actual implementation...perhaps kaligula can clarify?
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|