A swash plate compressor comprises a swash plate located for rotation in a
housing and a compression unit that forms a part of the housing. The
compression unit has cylinder bores that guide pistons in reciprocation
as the swash plate rotates. Each cylinder bore has a cross section formed
of any other closed curve than a circle. The closed curve is defined by
curve elements and straight elements.