CPLofpolyshape

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.4, Creation date: 2018-12-28, Last change: 2025-09-14

creates a CPL from an array of polyshapes

Description

for simple polyshapes it is possible to use ps.Vertices but for arrays of polyshapes, this fnctn is required

See Also: , CPLofPolygon

Example Illustration

 missing image of CPLofpolyshape(ps,ascell)

Syntax

CPL=CPLofpolyshape(ps,[ascell])

Input Parameter

ps: polyshape
ascell: returns polyshape array elements as cell list

Output Parameter

CPL: CPL

Examples


a=polyshape(PLcircle(10)), CPLofpolyshape(a)

a=polyshape([PLcircle(4);nan nan;PLcircle(3)+[3 3]]); a=regions(a)
CPLofpolyshape(a)
CPLofpolyshape(a,true)




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