CPLremdensity

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.8, Creation date: 2020-01-05, Last change: 2025-09-14

removes points from a CPL or a PL that



See Also: PLonCPLcontour , CPLremstraightAmin

Example Illustration

 missing image of CPLremdensity(CPL,dist,glob)

Syntax

PL=CPLremdensity(CPL,[dist,glob])

Input Parameter

CPL: CPL or PL
dist: minimal distance between original points
glob: if true; All points are considered as point cloud not as CPL

Output Parameter

PL: CPL with minimal distances or PL in case of a cloud

Examples


CPLremdensity(CPLsample(29),1,true)
CPLremdensity(CPLsample(29),1)
CPLremdensity(CPLaddauxpoints(CPLsample(29),1),1)




Copyright 2020-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