ixfx
    Preparing search index...

    Function toPolar

    • Converts a vector to a polar coordinate. If the provided value is already Polar, it is returned.

      Parameters

      • v: Vector
      • origin: { x: 0; y: 0 } = PointEmpty

      Returns Coord

      Polar vector