Syntax
[SGX,SGA,SGB,SGC]=SGseparatebyT(SG,T)
Input Parameter
SG : | | Solid Geoemtry |
T : | | Separating frame/ plane |
Output Parameter
SGX : | | Surface that enclosed T (magenta); uncut |
SGA : | | Surfaces clearly ABOVE T (red) |
SGB : | | Surfaces clearly BELOW T (green) |
SGC : | | Surfaces that below and above of T (white) |
Examples
A=SGsample(5); T=TofP([0 0 3]); B=SGbladeofCVL(CVLofSGT(A,T),2,2);
A=SGboolTL(A,'-',B); SGseparatebyT(A,T)
A=SGsample(5); T=TofP([0 0 3]); [A,B]=SGcutT(A,T); SGfigure; SGplot(A,'r'); SGplot(B,'g');
SGseparatebyT({A,B},T)
SGseparatebyT(SGsample(5),T)
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