the outer bounding box of these selections
map of key to child SelectionMaps or SmoSelections
Add a rendered element to the map, and update the bounding box
Add the selection to our map, and possibly to our child map.
get a set of coordinates from this selection, if it has been rendered.
Create a key from the selection (selector). e.g. (1,1)
Given a bounding box (or point), find all the musical elements contained in that point
SmoSelection[]
find a collection of selection that match a bounding box, possibly by recursing through our child SelectionMaps.
Generated using TypeDoc
A selection map maps a sub-section of music (a measure, for instance) to a region on the screen. SelectionMap can contain other SelectionMaps with different 'T', for instance, notes in a measure, in a 'Russian Dolls' kind of model. This allows us to search for elements in < O(n) time and avoid expensive geometry operations.