Converts a locatable to a point. If the locatable is a shape, it returns the center of the shape, otherwise it's a point, so it just returns the point
the locatable to convert
a point representing the locatable
Converts a locatable to a point. If the locatable is a shape, it returns the center of the shape, otherwise it's a point, so it just returns the point