SGcolorseparation

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 4.5, Creation date: 2019-01-30, Last change: 2025-09-14

returns a cell list or SG separated by colors



See Also: SGsurfaces , SGseparate , surfacesofSG , SGsurfaceselect , SGcolorfaces

Example Illustration

 missing image of SGcolorseparation(SG,sel)

Syntax

SGC=SGcolorseparation(SG,[sel])

Input Parameter

SG: struct with fields; VL, FL, FC
sel: selector; list of chars or a list of rgb values [0..1 0..1 0..1]

Output Parameter

SGC: cell list or colored Solid Geometry

Examples


SGcolorseparation(A,[1 0 0])
SGcolorseparation(A,'rg')




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