cortex.polyutils.Surface.get_geodesic_strip_patch¶
-
Surface.
get_geodesic_strip_patch
(v0, v1, radius, room_factor=2, method='bb', graph_search='astar', include_strip_coordinates=True)¶ return patch that includes v0, v1, their geodesic path, and all points within some radius
- Parameters
- - v0int
index of start point
- - v1int
index of end point
- - radiusnumber
radius of section around geodesic path
- - methodstr
algorithm, either ‘bb’ or ‘graph_distance’
- - room_factornumber
in bb method, how much extra room in big ball
- - graph_search‘astar’ or ‘dijkstra’
graph search method to use
- - include_strip_coordinatesbool
whether to compute coordinates of strip