It returns surface of compartment: 2*PI*(length of compartment computed as distance between actual point and previous segment)