FSofSGnormal

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FS/Feature Surfaces
Introduced first in SolidGeometry 5.1, Creation date: 2021-07-14, Last change: 2025-09-15

finds all feature surfaces that fullfil the same normal vector condition

Description

There are several functions for the selection of surfaces, features, and frames
FSofSGnormal - uses a normal vector for the selection
FSselect - should simply select surfaces out of a larger set of surfaces
FSfeature - should return properties of different data types
see also all SGTset functions
=======================================================================
The 1st of a set of functions aimed directly at the analysis and formal specification of surfaces. This is necessary to give a clear structure to the formal addressing of surfaces

See Also: FSofSGfacet , FSselect , FSfeature

Example Illustration

 missing image of FSofSGnormal(TR,nv,alp,rec)

Syntax

[FILk,FILm,FILi]=FSofSGnormal(TR,[nv,alp,rec])

Input Parameter

TR: Triangulation or SG
nv: normal vector; default is [0 0 1]
alp: alpha angle; default is 0.01
rec: if false, alpha is also the absolut limit to the nv vector; default is true;

Output Parameter

FILk: Cell list of facets that belong to the same feature surface
FILm: Cell list of facets that belong to the same feature surface but are most similar to nv
FILi: Cell list of one facet per surface that is most similar to nv

Examples


load JACO_robot.mat
FSofSGnormal(JC0,[0 0 1])
FSofSGnormal(SGsample(44),[0 0 1])
FSofSGnormal(SGsphere(100),[0 0 1],pi/20,true)
FSofSGnormal(SGsphere(100),[0 0 1],pi/20,false)




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