Syntax
CVL=CVLzofSGslices(SG,[n,l,thre])
Input Parameter
SG : | | Solid Geometry |
n : | | number of slices; default is 10; if n is real, n is the slice distance |
l : | | optional limit for contour order; default is '' |
thre : | | reduction at top and bottom; default is 1e-2 |
Output Parameter
CVL : | | CVLz of the slices including the relevant c coordinate |
Examples
CVLzofSGslices(SGsample(23),50)
CVLzofSGslices(SGsample(25),50); view(0,0) % All contours
CVLzofSGslices(SGsample(25),50,0); view(0,0) % Most outward contour
CVLzofSGslices(SGsample(25),50,1); view(0,0) % Outward plus 1st inner
CVLzofSGslices(SGsample(25),50,2); view(0,0) % Outward plus 1st and 2nd inner
CVLzofSGslices(SGsample(25),1.001,1); view(0,0) % slicing distance is 1 mm
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