SGof2CPLzbranch

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 3.9, Creation date: 2017-06-12, Last change: 2025-09-14

Creates a Solid for an 1:n or n:1 solid branch


Will be removed (2025-09-21): Use 'SGof2CPLzcorrelate' instead

Description

USED BY SGof2CPLzcorrelate
Creates a 1:n or n:1 solid branch.
Either CPLA or CPLB must consist of ONLY ONE contour

See Also: SGof2CPLzcorrelate , SGof2CPLz , SGof2CPLsz , SGof2CPLzheurist

Example Illustration

 missing image of SGof2CPLzbranch(CPLA,CPLB,z,stype,ctype)

Syntax

[SG,NFLW,NFLA,NFLB]=SGof2CPLzbranch([CPLA,CPLB,z,stype,ctype])

Input Parameter

CPLA: Contour A
CPLB: Contour B
z: height or [height separation]; default is 0.5
stype: "number", "length", "angle", "center"; default is "length"
ctype: "mina" or "miny"; default is "mina"

Output Parameter

SG: Solid Geometry of the branch
NFLW: Wall Facets
NFLA: Bottom Facets
NFLB: Cover Facets

Examples


SGof2CPLzbranch(CPLsample(2), CPLsample(9),50)
SGof2CPLzbranch(CPLsample(6), CPLsample(10),50)
SGof2CPLzbranch(CPLsample(6), CPLsample(10),[50 0.9])
SGof2CPLzbranch(CPLaddauxpoints(CPLsample(6),1), CPLaddauxpoints(CPLsample(10),1),[50 0.9])
SGof2CPLzbranch(CPLselectinout(CPLsample(38),[1 10]),CPLselectinout(CPLsample(39),[1 10]),10);




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