orientation and centroid