Area-weighted centroids, and centroids for zero-extent features.