clip_8 | Iconic Instruction Language

2.2  Selectors

Select sets of objects.

Selectors are attached to instructions at the control flow drop-off point `p0`.

Typically, a selector defines a selection area or selection location. The selection set is the set of object intersectiong with (or being enclosed by) that location or area.

This section presents selectors in isolation, without any instruction. The reference point (otherwise defined by the context of the instruction) is indicated by a dummy control flow, or a small arrow.

The objects in the selection set are expected to be highlighted in a defined colour after the test run.

Select by an enclosing rectangle.
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :   

Select by an enclosing rectangle. A connector allows to define selection rectangles that are remote from the point of attachment (upper left corner).
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :   

Objects with their edges exactly on the selector edge. Test for precision of selector areas and for correct retrieval with multiple aligned objects.
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :   

Objects with their edges just a bit outside the selector edge. Test for precision of selector areas and for correct retrieval with multiple aligned objects.
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :   

Objects with their edges exactly on the selector e d ge. They should not be selected since it is not a true intersection. Test for precision of selector areas and for correct retrieval with multiple aligned objects.
[selectionset 4,4 #9E005D] expected to fail.

 ==>   :   

Objects with their edges a bit inside the selector e d ge. They should be selected since it is not a true intersection. Test for precision of selector areas and for correct retrieval with multiple aligned objects.
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :   

Select by an enclosing rectangle.
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :   

Select by an intersecting rectangle. A connector allows to define selection rectangles that are remote from the point of attachment (upper left corner).
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :   

See intersect2: Connector line technically runs in the inverse direction (From selector rect to arrow.) This should not affect processing.
[selectionset 4,4 #9E005D] expected to pass.

 ==>   :