in

The ORM Foundation

Get the facts!

How to express spatial relationship

Last post Tue, Mar 3 2009 13:12 by Ken Evans. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Tue, Mar 3 2009 1:02

    How to express spatial relationship

     Dear All,

      How could I express spatial relationships in ORM? I'm trying to model a BUILDING while is composed of a PODIUM and a few BLOCKS. BLOCKS must be contained in the PODIUM. 

     Regards,

    Nathan

     

  • Tue, Mar 3 2009 13:12 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 805

    Re: How to express spatial relationship

    Hi Nathan,

    One way that comes to mind is to give each of your items a reference point in a reference scheme.
    You could use either a cartesian framework or a polar framework.

    So, for example if you had X,Y and Z axes, then you could state facts such as :

    Podium is at Room_X(23)
    Podium is at Room_Y(15)
    Podium is at Room_ Z(23)

    You could set the constraints so that the X.Y & Z coordinates of an object were required to be together.

    The reference point for each object (e.g. the Podium) would be the point from which its own dimensions were measured.


    This approach allows you to give dimensions to each object and values to the size of the room.
    The two sets of data could then be used to see if it is permissible to put an object at a particular point.

    Hope this helps

    Ken 

     

Page 1 of 1 (2 items)
© 2008-2024 ------- Terms of Service