Created command checkview for displaying shapes.
Handling of degenerated case improved. Test-case for issue #26464