Package-level declarations
Types
How distortUniform treats stretches where the distorted contour runs backwards relative to the original one, for example where an offset distance exceeds the local radius of curvature.
Functions
Convolutes the contour underlying this RectifiedContour with kernel.
Distorts the contour underlying this RectifiedContour using a distortion function that is evaluated on the rectified (proportional to contour length) t parameter.
Approximates the curve you'd get by applying an arbitrary point-wise distort function to every point of curve, while representing the result as adaptively-split cubic Beziers.
Parameter-aware variant of distort: the distort function additionally receives the global parameter t of the original curve, which makes it possible to express displacement fields that vary along the curve, for example tapering toward the endpoints.
Distorts the points along this ShapeContour by applying a specified distortion function. The output is a new ShapeContour with segments that adaptively approximate the distorted curve while maintaining the original closed property.
Distorts the contour underlying this RectifiedContour using a distortion function that is evaluated on the rectified (proportional to contour length) t parameter.
Transforms the shape by distorting its contours based on a mapping between a reference rectangle and a target Bézier patch.
Distorts the current ShapeContour by mapping its points to a target BezierPatch using the parameterization derived from the basis rectangle.
Warps the current contour by applying a distortion based on the provided basis and warp contours. The operation computes a mapping where the nearest position and normal of the basis contour are used to calculate the displacement applied to the warp contour, creating a warped result.
Warps the shape by applying a transformation based on provided basis and warp contours. Each contour within the shape undergoes the transformation process to produce a new warped shape.