visualCenter

fun visualCenter(ring: List<GeoPosition>, relativePrecision: Double = 0.001): PolygonCenter.VisualCenter

The visual centre of the polygon with outline ring (the last point is not repeated). It is found to within relativePrecision of the polygon's size (the default, 0.1%, is far finer than a label or picture can show). A ring of fewer than 3 points has no inside: the first point, radius 0.