Results of the Spatial Positioning Program
This program takes as input the coordinates of the RO, the coordinates of the LO and the spatial relation between the LO and the RO's and positions the LO so as to satisfy the given spatial relations which are specified using spatial prepositions.
Example 1 - the larger square and the triangle are the RO's. The LO is the smaller square and has to be placed in between the two RO's. For preposition between, a parabolic field is used.
Figure 1 : Sample output of the spatial positioning program
Example 2 - The larger square is the RO and the smaller square is the LO. The LO is first placed to the front of the RO and then to the front and right of the RO. Note that the front of the RO points towards your right. Elliptical potential fields are used in the implementation of prepositions front, right, left and front.
Example 3 - The larger square and the triangle are the RO's and the smaller square is the LO. The LO is placed between the two RO's and near the larger square. The potential fields for prepositions near/far is a simple field with minimum/maximum at the RO centre.