Syntax
[CPL,NP]=CPLrepair(OCPL,[dd])
Input Parameter
OCPL : | | Original Contour line |
dd : | | resolution for shifted points; default is 1e-6; |
Output Parameter
CPL : | | Closed |
NP : | | Split point coordinates; not acceicbal |
Examples
PLA=[PLcircle(4); nan nan; PLcircle(4)+3];
CPLrepair(PLA); CVLplot(ans); view(0,90);
CPL=[PLcircle(10);nan nan;PLcircle(10)+4; nan nan; flipud(PLcircle(2))];
CPLrepair(PLA); CVLplot(ans); view(0,90);
CPL=CPLsample(43); CPLrepair(CPL);
Copyright 2018-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