MCPcopy Create free account
hub / github.com/shapely/shapely / representative_point

Method representative_point

shapely/geometry/base.py:391–396  ·  view source on GitHub ↗

Return a point guaranteed to be within the object, cheaply. Alias of `point_on_surface`.

(self)

Source from the content-addressed store, hash-verified

389 return shapely.point_on_surface(self)
390
391 def representative_point(self):
392 """Return a point guaranteed to be within the object, cheaply.
393
394 Alias of `point_on_surface`.
395 """
396 return shapely.point_on_surface(self)
397
398 @property
399 def convex_hull(self):

Callers 2

test_operationsMethod · 0.80

Calls 1

point_on_surfaceMethod · 0.80

Tested by 1

test_operationsMethod · 0.64