CPLof2CPLzheuristic
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.4, Creation date: 2024-07-09, Last change: 2025-09-15
returns the projection of a solid the would be created by SGof2CPLzheurist
Description
If a convex and a concave connotur are extruded in direction z to a solid geometry, to larger contour could be replaced by the z-projection of the final contour. This is the purpose of this function
See Also: SGof2CPLzheurist
, CPLofSGhull
, CPLaddauxpoints
, CPLunion
Example Illustration
Syntax
CPL=CPLof2CPLzheuristic(CPLA,CPLB,z)
Input Parameter
CPLA: | | Base Contour |
CPLB: | | Top contour |
z: | | extrusion height (has an effect) |
Output Parameter
Examples
CPLof2CPLzheuristic(CPLofPL(PLsquare(100)),CPLofPL(PLcircle(50))+14,10); CPL=ans;
SGof2CPLzheurist(CPL,CPLofPL(PLcircle(50)+14,1),100); % Not enough points
SGof2CPLzheurist(CPLaddauxpoints(CPL,1),CPLaddauxpoints(CPLofPL(PLcircle(50))+14,1),100) % Desired
Copyright 2024-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