Syntax
[PLM,ia,ib,PLR]=PLmeancluster(PL,[res])
Input Parameter
PL : | | point or verteex list [n x m] |
res : | | resolution four rounding; default is 0.5 (will be changed in future) |
Output Parameter
PLM : | | Point list with mean values |
ia : | | index of short list in original list |
ib : | | index of original list in short list |
PLR : | | Point list with grid rounded points |
Examples
PLmeancluster(rand(1000,2));
PLmeancluster(rand(1000,2),3);
[PLM,ia,ib]=PLmeancluster(rand(1000,3)); PLM(ia,:) % returns the shortened PL list
PLmeancluster(CPLaddauxpoints(CPLsample(29),.3),.3) $ Downsamplint to 0.3
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