CPLofPLEL

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

returns a polybool contour from PL and EL

Description

New implementation using ELofELmesh in 2018-10-07 (4 times faster)
Closed point list separate by NaN. This function uses ELreconnect to generate Contour index list first and then processes each closed contour separately.

See Also: CPLplot , CPLisccw , ELofELmesh

Example Illustration

 missing image of CPLofPLEL(PL,EL)

Syntax

CPL=CPLofPLEL(PL,EL)

Input Parameter

PL: Point list
EL: Edge list

Output Parameter

CPL: Contour point list

Examples


CPLofPLEL(rand(10,2),[3 1; 2 3; 1 3])
CPLofPLEL(rand(10,2),[1 2; 2 3; 3 1])
CPLofPLEL(rand(10,2),[3 1; 2 3; 1 2])




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