FullControl JS
    Preparing search index...

    Function polar_to_point

    • Calculates a new Point based on a polar coordinate offset from a center.

      Parameters

      • centre: Point

        The origin point of the polar sweep.

      • radius: number

        The spatial distance from the centre.

      • angle: number

        The polar angle in radians.

      Returns Point

      A new Point at the calculated Cartesian coordinate.

      const p = polar_to_point(new Point({x:0, y:0, z:0}), 10, Math.PI); // Point(-10, 0, 0)