Syntax
CPLN=CPLinsertPL(CPL,PL,[tol])
Input Parameter
CPL : | | arbitrary CPL |
PL : | | unosrted list of points that may be on lines of CPL |
tol : | | maximum distance |
Output Parameter
CPLN : | | New CPL with inserted Points if possible |
Examples
CPLinsertPL([0 0; 1 0; 1 1;nan nan;10 0; 11 0; 10 1],[0.5 0.5])
CPLX=CPLaddauxpoints(CPLsample(14),1);
CPLfillgap(CPLX,3,'miter',true); CPLN=ans;
CPLinsertPL(CPLN,CPLX); % LOST
CPLinsertPL(CPLX,CPLN); % CHANGES TO ORIGINAL
CPLfillgap(CPLX,3,'miter',false); CPLN=ans;
CPLinsertPL(CPLN,CPLX);
Copyright 2021-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