VLFLofCPLrot

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Modeling function
Introduced first in SolidGeometry 2.0, Creation date: 2014-11-29, Last change: 2025-09-14

returns a solid geometry from of a radius-z list



See Also: VLFLofCPLz , VLFLofCPL

Example Illustration

 missing image of VLFLofCPLrot(CPL,n,rcorr)

Syntax

[VL,FL,CPL]=VLFLofCPLrot(CPL,[n,rcorr])

Input Parameter

CPL: Radius-Z List
n: number of edges of the prismatic cross section
rcorr: true = increase that R is on circle; default R is incircle

Output Parameter

VL: Vertex list
FL: Facet list
CPL: Resulting contour polygon list

Examples

Generating different solids by rotating a contour
CPL=[0 0; 20 0; 20 10; 0 10; NaN NaN; 1 1; 9 1; 9 9; 1 9; NaN NaN; 2 2; 8 2; 8 8; 2 8 ];
CPL(:,1)=CPL(:,1)+5
CPL=PLcircle(10);
CPL=[0 10; 2 8; 0 5; 0 4; 4 1; 0 0];
[VL,FL,NCPL]=VLFLofCPLrot (CPL);
VLFLchecker(VL,FL);
VLFLviewer(VL,FL); VLFLplotlight (1,0.5), view(-30,30); PLELofCPL (NCPL); show




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