pymead.utils.geometry.convert_numpy_array_to_shapely_points#

convert_numpy_array_to_shapely_points(arr: ndarray)[source]#

Converts a 2-D numpy array of \(x\)-\(y\) coordinates to the format used by the shapely library.

Parameters:

arr (np.ndarray) – 2-D array of \(x\)-\(y\) coordinates

Returns:

List of tuples where each tuple represents an \(x\)-\(y\) coordinate pair

Return type:

List[tuple]