|From:||Duane Nickull <dnickull@xxxxxxxxx>|
|Date:||Tue, 2 Feb 2010 11:54:13 -0800|
On 2/2/10 11:43 AM, "Matthew West" <dr.matthew.west@xxxxxxxxx> wrote:
> I hope that it will not actually be necessary to try to precisely
Most OO programming languages are structured this way. If there is any way to build such a concept with another class, then refactoring is often used.
Take drawing primitives as an example. There is one base primitive which might be “coordinate”. This corresponds to a specific X,Y pair. This is abstract so at this point it ignores all pixel resolutions etc but could generally taken to be based on a pixel grid.
The next level down would be some primitive shapes. Candidates might be Line, Circle, Ellipse, Rectangle, Square etc. On closer examination, circle can be stated to be a specialized type of ellipse (one with a constant radius value) and a square can be declared as a specialized type of rectangle (one with equal side lengths within a fixed unit of precision, usually the pixel resolution when implemented). Line might also be a candidate for rectangle (a rectangle with height:width ratio exceeding certain limits) but lines could also carry the added property of an arc or path. Therefore the true primitives might be coordinate (or point), line, ellipse and rectangle. This represents a context of pixelated screens however. In vector graphics (SVG et al) the primitives may be different.
A triangle then presents a test. Is it another primitive of is it a specialized type of one of the existing graphic primitives. One could create another primitive called “fill” that takes parameters of a “boundary” expressed in terms of lines. This could then make up all other shapes such as polygon, triangle, star, etc..
Adobe LiveCycle Enterprise Architecture - http://www.adobe.com/products/livecycle/
My TV Show - http://tv.adobe.com/show/duanes-world/
My Blog – http://technoracle.blogspot.com/
My Band – http://22ndcenturyofficial.com/
Twitter – http://twitter.com/duanechaos
_________________________________________________________________ Message Archives: http://ontolog.cim3.net/forum/ontolog-forum/ Config Subscr: http://ontolog.cim3.net/mailman/listinfo/ontolog-forum/ Unsubscribe: mailto:ontolog-forum-leave@xxxxxxxxxxxxxxxx Shared Files: http://ontolog.cim3.net/file/ Community Wiki: http://ontolog.cim3.net/wiki/ To join: http://ontolog.cim3.net/cgi-bin/wiki.pl?WikiHomePage#nid1J To Post: mailto:ontolog-forum@xxxxxxxxxxxxxxxx (01)
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [ontolog-forum] Foundation Ontology Primitives, Matthew West|
|Next by Date:||Re: [ontolog-forum] OMG Architecture Ecosystem Initiative -- blast from the past, McCarthy, William|
|Previous by Thread:||Re: [ontolog-forum] Foundation Ontology Primitives, Matthew West|
|Next by Thread:||Re: [ontolog-forum] Foundation Ontology Primitives, Cory Casanave|
|Indexes:||[Date] [Thread] [Top] [All Lists]|