CVLofSGcutplanes

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CVL/Closed Vertex Lists
Introduced first in SolidGeometry 4.1, Creation date: 2017-08-11, Last change: 2025-09-14

returns the three cutting contours at a frame coordinate system through a solid

Description

Thus function helps to create cutting contours for a solid using an optional cutting frame coordinate system. In contrast to CVLofconvexHull, this function create a local cut that is only considering the solid space around the frame coordinate system

See Also: CVLofconvexHull , CVLofSGcutT , CVLofSGT , CPLofVLFL

Example Illustration

 missing image of CVLofSGcutplanes(SG,T)

Syntax

[CVLX,CVLY,CVLZ,SG2]=CVLofSGcutplanes(SG,T)

Input Parameter

SG: Solid geoemtry
T: cutting coordinate system; must be inside of the solid!

Output Parameter

CVLX: cutting contour x=0 (green)
CVLY: cutting contour y=0 (blue)
CVLZ: cutting contour z=0 (red)
SG2: used T matrix; if input parameter T was empty

Examples


CVLofSGcutplanes(SGsample(29))
CVLofSGcutplanes(SGsample(30))
CVLofSGcutplanes(SGsample(29),TofP([0 22 5]))
CVLofSGcutplanes(SGsample(29),TofR(rot(pi/20,pi/20,pi/20),[0 22 5]))




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