Syntax
[NVL,ci]=VLremstraightAmin(CVL,[Amin])
Input Parameter
CVL : | | Closed Polygon Line in 2D or 3D |
Amin : | | Minimal Area between two succeeding points; default is 1e-3; |
Output Parameter
NVL : | | New Vertex List |
ci : | | mapping index from original to new |
Examples
VL=VLaddz(PLcircle(1,10000)); VLremstraightAmin(rounddiv(VL,1e-7),1e-3);
VLremstraightAmin(VLaddz(PLsample(3)),1e-1);
VLremstraightAmin(VLaddz(CPLsample(19)),1e-1);
VLremstraightAmin(VLaddz(CPLsample(19)),1e-2
VLremstraightAmin(VLaddz(VLsample(15)),1e-1);
VLremstraightAmin(VLaddz(CPLsample(21)),1e-1);
Copyright 2017-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