- gdsfactory.path.smooth(points: ~numpy.ndarray[tuple[int, ...], ~numpy.dtype[~numpy.floating[~typing.Any]]] | ~gdsfactory.path.Path, radius: float = 4.0, bend: ~collections.abc.Callable[[...], ~gdsfactory.path.Path] = <function euler>, **kwargs: ~typing.Any)Path
Returns a smooth Path from a series of waypoints.
- Parameters
import gdsfactory as gf p = gf.path.smooth(([0, 0], [0, 10], [10, 10])) p.plot()