Source Academy Modules
    Preparing search index...

    Variable put_in_standard_positionConst

    put_in_standard_position: CurveTransformer = CurveFunctions.put_in_standard_position

    This function is a Curve transformation: It takes a Curve as argument and returns a new Curve, as follows. A Curve is in standard position if it starts at (0,0) ends at (1,0). This function puts the given Curve in standard position by rigidly translating it so its start Point is at the origin (0,0), then rotating it about the origin to put its endpoint on the x axis, then scaling it to put the endpoint at (1,0). Behavior is unspecified on closed Curves where start-point equal end-point.

    given Curve

    result Curve