code: def _points_from_geometry(geoseries):
      """Wrapper function that converts any homogeneous geoseries into
      a geoseries of points."""
      if geoseries.column_type == ColumnType.POINT:
          return geoseries
      elif geoseries.column_type == ColumnType.LINESTRING:
          return _points_from_linestrings(geoseries)
      elif geoseries.column_type == ColumnType.POLYGON:
          return _points_from_polygons(geoseries)
      else:
          raise NotImplementedError(
              "Cannot convert type {} to points".format(geoseries.type)
          )
  
imports: import cupy
  import numpy
  import cudf
  import cuspatial
  from cuspatial.core._column.geocolumn import ColumnType
  from cuspatial.core._column.geometa import Feature_Enum
label_desc: Use image node_id 16 for calling a global function with example usage: _points_from_geometry(geoseries) and returns: geoseries, _points_from_linestrings, _points_from_polygons