posted 18 years ago
Hi,
I am working on a thin-client application where we are displaying a network of circuits which can have multiple levels, branches and splits (which rejoin further on in the circuit).
The configuration of the circuit is determined at real time since we get data loads from external systems which may or may not be connected to each other and/or to elements in the existing circuit.
I specifically want this type of range map to be able to check for an existing image at a specific co-ordinate, on the screen to prevent connections between elements from being drawn over existing images on the screen.
As an example : a simple square is drawn at x1 = 350, y1 = 50, x2 = 400, y2 = 100 and a connection must be drawn between two points xa = 200, ya= 75 and xb = 450, yb = 75 ( this would draw through the square unless I can check in the map if an element exists between the two points).
After I made the post I saw that the sorted map can possibly be used as a solution.