coons-patch
    Preparing search index...

    Function coonsPatch

    • Computes a point on a surface defined by four bounding curves using the Coons patch formula. This interpolation method ensures a smooth transition between the boundary curves.

      Parameters

      • boundingCurves: BoundingCurves

        An object containing the four curves that define the surface boundaries.

      • params: InterpolationParameters

        The u, v, uOpposite and vOpposite parameters for interpolation. All parameters should be in range [0-1]. uOpposite defaults to u, and vOpposite defaults to v.

      • Optionalconfig: CoonsPatchConfig = {}

        Optional configuration object to customize curve interpolation methods.

      Returns Point

      The interpolated 2D point on the surface.

      If bounding curves or params are invalid.