class_docstr: Class representing a point on the 2D plane.
class_docstr_tok: ["Class","representing","a","point","on","the","2D","plane","."]
docstr: Constructs a point from polar coordinates.
  
  C{radius} is the distance of the point from the origin; C{angle} is the
  angle between the X axis and the vector pointing to the point from
  the origin.
docstr_tok: ["Constructs","a","point","from","polar","coordinates",".","C","{","radius","}","is","the","distance","of","the","point","from","the","origin",";","C","{","angle","}","is","the","angle","between","the","X","axis","and","the","vector","pointing","to","the","point","from","the","origin","."]
code: def FromPolar(cls, radius, angle):
      """Constructs a point from polar coordinates.
  
      C{radius} is the distance of the point from the origin; C{angle} is the
      angle between the X axis and the vector pointing to the point from
      the origin.
      """
      return cls(radius * cos(angle), radius * sin(angle))
  
imports: from collections import defaultdict
  from math import atan2, cos, hypot, sin
  from typing import NamedTuple
  from igraph.utils import consecutive_pairs
label_desc: Use image node_id 12 for calling the Point obj's underlying member method code with example usage: obj.FromPolar(cls, radius, angle) and returns: cls