Only the bore and stroke are considered. The reason they call it "displacement", and not "cylinder volume", or something like that, is because the reference is to the volume of air "displaced" in a full cycle of all cylinders. So it's simply piston area x stroke x cylinders; or cylinder radius, squared, times pi, times stroke, times number of cylinders. Go try it on the numbers in the article.