CVLinsertcollinearpoints
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - PL/Point Lists
Introduced first in SolidGeometry 5.6, Creation date: 2025-09-12, Last change: 2025-09-15
inserts collinear auxiliary points that a minimum point distance is guaranteed
Use carefully: The 'CVLinsertcollinearpoints' function has not yet been extensively tested
Description
slightly different to RLaddauxpoints and CPLaddauxpoints
does not create collinear auxiliary points if an edge is missing!
Only if start and end point are the same, the last edge is also processed.
Same as:
PLinsertcollinearpoints == CPLinsertcollinearpoints == CVLinsertcollinearpoints
See Also: RLaddauxpoints
, CPLaddauxpoints
, VLremsuccident
, PLinsertcollinearpoints
, CPLinsertcollinearpoints
Example Illustration
Syntax
CVLN=CVLinsertcollinearpoints(CVL,[d])
Input Parameter
CVL: | | Point list without nan, open or closed |
d: | | maximum point distance to guarantee |
Output Parameter
CVLN: | | Point list with collinear auxiliary points, open or closed as PL |
Examples
CVLinsertcollinearpoints(CVLsample(3),1) % open edge, identical point removed
CVLinsertcollinearpoints(CVLsample(8),1) % closed contour, identical point removed
CVLinsertcollinearpoints(CVLsample(16),1) % Does work also in 3D
CVLinsertcollinearpoints(CVLsample(18),1) % Does work also with nan separated contours
Copyright 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