Prolegomena to the recognition of floor plan sketches: A typology of architectural and grafic primitives in freehand representation