Source Academy Modules
    Preparing search index...

    Variable make_pointConst

    make_point: (x: number, y: number) => Point = CurveFunctions.make_point

    Makes a Point with given x and y coordinates.

    Type Declaration

      • (x: number, y: number): Point
      • Parameters

        • x: number

          x-coordinate of new point

        • y: number

          y-coordinate of new point

        Returns Point

        with x and y as coordinates

    const point = make_point(0.5, 0.5);