ixfx
    Preparing search index...

    Variable toCartesianConst

    toCartesian: PolarToCartesian = ...

    Converts to Cartesian coordinate from polar.


    const origin = { x: 50, y: 50}; // Polar origin
    // Yields: { x, y }
    const polar = Polar.toCartesian({ distance: 10, angleRadian: 0 }, origin);

    Distance and angle can be provided as numbers intead:

    // Yields: { x, y }
    const polar = Polar.toCartesian(10, 0, origin);