that would even go for a cylinder with null height:
------o------o------o------o------