ixfx
    Preparing search index...

    Function pipeline

    • Returns a pipeline function that takes a point to be transformed through a series of functions

      // Create pipeline
      const p = Points.pipeline(Points.normalise, Points.invert);

      // Now run it on `somePoint`.
      // First we normalised, and then invert
      const changedPoint = p(somePoint);

      If you don't want to create a pipeline, use pipelineApply.

      Parameters

      Returns (pt: Geometry.Point) => Geometry.Point