Re: Design problem
- From: "Mark Nicholls" <Nicholls.Mark@xxxxxxxxx>
- Date: 3 Feb 2006 02:33:25 -0800
Ilja Preuß wrote:
Mark Nicholls wrote:
Thats fine and dandy, but the space of circles is not closed under the
operations described...
i.e. compressing the Y axis makes a circle into a ellipse, not a
little circle.
One way around this is to have the operations create new shapes instead of
changing existing once.
Cheers, Ilja
yes I agree...I think this was the basis of my previous answer....based
on double dispatch...of course the resultant shape is based on current
shape x operation.
you either decompose the problem into chunks (double dispatch)....or
find a general case.......two points aren't enough for a general
case....and the complete set of points is obviously enough but
unbounded so computationally difficult!. Assuming the operations are
linear i.e like rotations etc....the closure of the space is probably
the conic sections.
.
- References:
- Re: Design problem
- From: Mark Nicholls
- Re: Design problem
- From: Ilja Preuß
- Re: Design problem
- Prev by Date: Re: Simple inheritence question
- Next by Date: Re: SQL
- Previous by thread: Re: Design problem
- Next by thread: Re: Design problem
- Index(es):
Relevant Pages
|