desc.geometry.FourierRZCurve.to_FourierXYZCurve
- FourierRZCurve.to_FourierXYZCurve(N=None, grid=None, s=None, name='')Source
Convert Curve to FourierXYZCurve representation.
- Parameters:
N (int) – Fourier resolution of the new X,Y,Z representation.
grid (Grid, int or None) – Grid used to evaluate curve coordinates on to fit with FourierXYZCurve. If an integer, uses that many equally spaced points.
s (ndarray) – arbitrary curve parameter to use for the fitting. if None, defaults to normalized arclength
name (str) – name for this curve
- Returns:
curve (FourierXYZCurve) – New representation of the curve parameterized by Fourier series for X,Y,Z.