original_docstring: Computes the plan view centroid of a non-self-intersecting polygon.
  
      Points are represented as (x, y, z) triples.
  
      Args:
          polygon: A list of points defining the polygon.
  
      Returns:
          The point at the polygon's centroid.
      
docstring: Computes the plan view centroid of a non-self-intersecting polygon.
  Points are represented as (x, y, z) triples.
docstring_tokens: Computes the plan view centroid of a non - self - intersecting polygon . Points are represented as ( x y z ) triples .
code: def compute_polygon_centroid_2d(polygon):
      """Computes the plan view centroid of a non-self-intersecting polygon.
  
      Points are represented as (x, y, z) triples.
  
      Args:
          polygon: A list of points defining the polygon.
  
      Returns:
          The point at the polygon's centroid.
      """
      return geometry.gmComputePolygonCentroid(polygon)
code_tokens: def compute_polygon_centroid_2d ( polygon ) : return geometry . gmComputePolygonCentroid ( polygon )
short_docstring: Computes the plan view centroid of a non-self-intersecting polygon.
short_docstring_tokens: Computes the plan view centroid of a non - self - intersecting polygon .
comment: """Computes the plan view centroid of a non-self-intersecting polygon.
  
      Points are represented as (x, y, z) triples.
  
      Args:
          polygon: A list of points defining the polygon.
  
      Returns:
          The point at the polygon's centroid.
      """