CPLfft

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.5, Creation date: 2019-03-04, Last change: 2025-09-14

returns a fourier frequency reduced contour shape



See Also: CPLBezier , CPLremstraightAmin

Example Illustration

 missing image of CPLfft(CPL,nf,np)

Syntax

CPLR=CPLfft(CPL,[nf,np])

Input Parameter

CPL: Contour
nf: Number of used frequencies
np: number of points of the CPL; default is 100;

Output Parameter

CPLR: Resulting Contour

Examples


CPLfft(CPLsample(6))
CPLfft(PLtransT(PLsquare(4,3),TofR(rot(10),[30 30])),20);
CPLremstraightAmin(CPLfft(PLtransT(PLsquare(4,3),TofR(rot(10),[30 30])),20),.01);




Copyright 2019-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21