SGofCPLtransT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 4.2, Creation date: 2018-08-13, Last change: 2025-09-14

returns a solid from a 2D contour and a list of frames

Description

In combination with TLofCVL, this function will replace in future mostly all other functions such as: SGofCPLCVLR, SGcontourtube, SGcontourtube2, SGof2T, SGof2SGT.

See Also: TLofCVL , SGof2T , SGof2SGT

Example Illustration

 missing image of SGofCPLtransT(CPL,T1,T2)

Syntax

[SG,FLS,FLE,FLW,TS,TE]=SGofCPLtransT(CPL,T1,[T2])

Input Parameter

CPL: Closed Polygon List separated by nan
T1: Frame 1 [4 x 4] or List of frames [4 x 4 x n]
T2: Frame 2 [4 x 4], optional

Output Parameter

SG: Solid Geometry SG.VL, SG.FL
FLS: Facets of the start cover
FLE: Facets of the end cover
FLW: Facets of the contour wall
TS: starting frame
TE: ending frame

Examples


SGofCPLtransT(CPLsample(13),eye(4),TofR(rot(0,0,pi/20),[0 0 40]));
TL=TLofCVL(VLsample(4),2,eye(3),rot(0,0,pi/2),'rad'); SG=SGofCPLtransT(CPLsample(27)/20,TL); SGfigure(SG); view(-30,30);




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