The perimeter of given shape is equal to sum of only straight edges.
A three dimensional shape can have edges only if it has vertices.