Xref: utzoo comp.object:2620 comp.lang.eiffel:1436 Path: utzoo!attcan!uunet!mcsun!ukc!mucs!logitek!hrc63!mrcu!paj From: paj@mrcu (Paul Johnson) Newsgroups: comp.object,comp.lang.eiffel Subject: Re: Inheritance and Information Hiding Message-ID: <830@puck.mrcu> Date: 11 Feb 91 13:56:03 GMT References: <1991Feb6.045542.791@visix.com> <1991Feb6.214110.28256@Neon.Stanford.EDU> <1991Feb7.205232.23548@Neon.Stanford.EDU> Reply-To: paj@uk.co.gec-mrc (Paul Johnson) Organization: GEC-Marconi Research Centre, Great Baddow, UK Lines: 19 Summary: Expires: Sender: Followup-To: In article <1991Feb7.205232.23548@Neon.Stanford.EDU> craig@Neon.Stanford.EDU (Craig D. Chambers) writes: >In article blerner@empire.cs.umass.edu (Barbara Lerner) writes: > [Good stuff about the polygon-rectangle problem deleted. Briefly, > the idea was that rectangle.add_vertex turns the object into a > polygon] In passing, its worth noting that the InterViews solution to this very problem was similar to what was proposed in the referenced articles. If you asked for a rectangle, you got a polygon with 4 vertices and all corners 90 degrees. This could then be rotated and stretched at will. Paul. -- Paul Johnson UUCP: !mcvax!ukc!gec-mrc!paj --------------------------------!-------------------------|------------------- GEC-Marconi Research is not | Telex: 995016 GECRES G | Tel: +44 245 73331 responsible for my opinions. | Inet: paj@uk.co.gec-mrc | Fax: +44 245 75244