figureone
    Preparing search index...
    • Polar coordinates to cartesian coordinates conversion

      Parameters

      • mag: number
      • angle: number
      • theta: number | null = null

      Returns Point

      const polarToRect = Fig.polarToRect;
      const p = polarToRect(Math.sqrt(2), Math.PI / 4);
      console.log(p);
      // Point {x: 1, y: 1)