Walaa,
I have to represent a reinforcement frame for the concrete industry. The reinforcement frame itself is a 3 dimensional space of metal bars of a fixed length hanging in that space (Z-dimension). I want the user to be able to specify the X and Y positions of each bar.
I show him a 2-dimensional space in a gridview and enable to change this.
Entity A : Entity C = 1 : n
Entity B : Entity C = 1 : m
Entity C represents a point in a 2-dimensional space.
Entity A represents a vertical position.
Entity B represents a horizontal position.
The number of possible vertical position is either 3, 4 or 5 and known in advance.
The number of possible horizontal positions is 7, 8, 9, ....., 20.
I use a gridview to present the two-dimensional space (see the image I added to a previous post). Each row represents a vertical position. Each column specifies a horizontal position. A cell in the gridview is either true or false indicating that the entity C (the metal bar) exists.
A user can add or delete horizontal positions.
Hope this clarifies it.
Jan