Syntax
CPLN=CPLinsertcollinearpoints(CPL,[d])
Input Parameter
CPL : | | Point list without nan, open or closed |
d : | | maximum point distance to guarantee |
Output Parameter
CPLN : | | Point list with collinear auxiliary points, open or closed as PL |
Examples
CPLinsertcollinearpoints(PLsample(3),1) % open edge, identical point removed
CPLinsertcollinearpoints(PLsample(8),1) % closed contour, identical point removed
CPLinsertcollinearpoints(VLsample(16),1) % Does work also in 3D
CPLinsertcollinearpoints(VLsample(18),1) % Does work also with nan separated contours
Copyright 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