CPLofSGslice2

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CVLz/Slices
Introduced first in SolidGeometry 2.8, Creation date: 2016-01-07, Last change: 2025-09-14

return slices of a separated SG

Description

Same as SGslice, but does support separated objects. It also has includes code that corrects problems by vertices near the slicing plane.
The slicer functions differ a little bit
CPLofSGslice - Single Slice
CPLofSGslice2 - Slices in a list of z values
CPLofSGslice3 - Slicing in 3 dimensions at the same time, several slices (returns also CVL)
CVLofSGslices - Slices in z (return CVL)
SGslicer - Basic function behind all of the above

See Also: SGslicer , CPLofSGslice , CPLofSGslice3

Example Illustration

 missing image of CPLofSGslice2(SG,z)

Syntax

CPL=CPLofSGslice2(SG,z)

Input Parameter

SG: Solid geometry; incl. separated objects
z: z-plane to slice

Output Parameter

CPL: CPL of the sliced plane




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