SGissurfaceframe

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.0, Creation date: 2020-10-17, Last change: 2025-09-15

returns weather a frame is an outword or inward frame for a solid

Description

Will be improved
SGissurfaceframe - finds frames without feature surface list that are near a surface
SGisinternalframe - finds frames without feature surface list that are inside a solid

See Also: SGisInterior

Example Illustration

 missing image of SGissurfaceframe(SG,T,d)

Syntax

VIL=SGissurfaceframe(SG,T,[d])

Input Parameter

SG: Solid Geometry
T: 4x4 Frame
d: tolerance; default is 1

Output Parameter

VIL: 1 outward, -1=inward, 0 = neither nor

Examples


load ADAM_Aframes.mat; SG=ADAM_Aframes
SGTcut(SG,'KL',0.1); X=ans
SGissurfaceframe(X,SGTget(SG,'KL')) % KL is outward frame for one solid
SGissurfaceframe(X,SGTget(SG,'AL')) % AL is an internal frame




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