Grx.generate_points

@accepts([int])
@returns([Grx.Point])
def generate_points(coords):
    # Python wrapper for grx_generate_points()
  

Creates an array of points.

This function is intended for use with language bindings that don't have an elegant way to create an array of points. Each pair of coordinates is converted into a point, so the returned array will be 1/2 the length of coords.

coords

the coordinate pairs

Returns