parameters: (points)
return_statement: return pnts
docstring: Returns a TColgp_HArray1OfPnt from a list
      of points given as arrays / tuples
  
      Ex. points = [(0,0,0), (1,2,3)]
  
      Note, each point of the array must be 3-dimensional!
  
      :param points: list of points
      :return: TColgp_HArray1OfPnt
docstring_summary: Returns a TColgp_HArray1OfPnt from a list
      of points given as arrays / tuples
docstring_tokens: Returns a TColgp_HArray1OfPnt from a list of points given as arrays / tuples
function: def point_array(points):
      """
      Returns a TColgp_HArray1OfPnt from a list
      of points given as arrays / tuples
  
      Ex. points = [(0,0,0), (1,2,3)]
  
      Note, each point of the array must be 3-dimensional!
  
      :param points: list of points
      :return: TColgp_HArray1OfPnt
      """
  
      pnts = TColgp_HArray1OfPnt(1, len(points))
      for i, py_pnt in enumerate(points):
          pnt = gp_Pnt(*py_pnt)
          pnts.SetValue(i+1, pnt)
      return pnts
function_tokens: def point_array ( points ) : pnts = TColgp_HArray1OfPnt ( 1 , len ( points ) ) for i , py_pnt in enumerate ( points ) : pnt = gp_Pnt ( * py_pnt ) pnts . SetValue ( i + 1 , pnt ) return pnts