TR3neighborsAngle

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 4.0, Creation date: 2017-07-04, Last change: 2025-09-14

returns the angle difference between a facet an its neigbors - required for Feature Surfaces

Description

Calculated the difference angle between a surface and its neighbor surfaces.
Typically used in combination with/to create the input for
function neighborsAngleSurface

See Also: neighborsAngleSurface , diffangle

Example Illustration

 missing image of TR3neighborsAngle(TR3)

Syntax

[NAL,NBL,FNL]=TR3neighborsAngle(TR3)

Input Parameter

TR3: Triangulation or SG

Output Parameter

NAL: Facet Normal Angle List wrt to NBL of each facet (3 angles)
NBL: Neighbor List = neighbors(TR3) of each facet (3 indices)
FNL: Facet normal List = faceNormal(TR3) of each facet (normal vector)

Examples


[NAL,NBL,FNL]=TR3neighborsAngle(SGbox)
[NAL,NBL,FNL]=TR3neighborsAngle(SGaddfacetcenterpoints(SGbox))




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