Linked list, with IDs and left-right neighbours. maybe ?

On 9/18/07, oneproofdk <[EMAIL PROTECTED]> wrote:
>
>   I'm looking for help on how to "describe" a physical room in a xml
> file - so I can draw it in a flex container later.
>
> The task is to be able to describe any room for, where there can be x
> walls and x angles.
>
> One room can be very simple, has 4 walls, no funny angles etc.
> Se illustration here : http://koalit.dk/flex/room0.jpg
> So I need only to store 2 values (I guess)
> <wall name="A" length="5000"/>
> <wall name="B" length="6500"/>
>
> But what when the rooms suddenly has multiple walls and angles:
> http://koalit.dk/flex/room1.jpg - http://koalit.dk/flex/room2.jpg -
> http://koalit.dk/flex/room3.jpg
>
> Any ideas on how to make a generic description, that I will be able to
> render using Flex mx.utils.GraphicsUtil
>
> Thanks for any ideas and or pointers
>
> Best regards,
> Mark
>
>  
>



-- 
All best,
Dan

Zen is like looking for the spectacles that are sitting on your nose

Reply via email to