CPLsweep

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

returns a swept contour

Description

Contour required for creating revolute joints.
Tricky function that rotates edges

See Also: CPLconvexhull

Example Illustration

 missing image of CPLsweep(CPL,wt,cp,gw)

Syntax

CPLN=CPLsweep(CPL,[wt,cp,gw])

Input Parameter

CPL: Closed polygon line
wt: angle w or [wmin wmax]; default is p/20
cp: center point for rotation; default is 0
gw: increase decrease contour; default is 0

Output Parameter

CPLN: Final contour

Examples


CPLsweep(CPLsample(14),[-pi/50 pi/4]);
CPLsweep(CPLsample(14),[-pi/50 pi/4],[15 0]);
CPLsweep(CPLsample(14),[-pi/50 pi/4],[0 15]);




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