VLFLfaceNormal
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 2.1, Creation date: 2015-01-09, Last change: 2025-09-14
returns the normal vector (or NAN) of the facet list and cutted (1e-4) length
Description
This is a function to adapt the VLFL syntax to R2014b.
The matlab cross-function of triangualtion results returns calucation error in size (1e-4)
returns NAN for points a line or very small tritangels
See Also: VLFLvertexNormal
, PLnorm
, PLELnorm
, PLFLfaceNormal
, VLnorm
, VLedgeNormal
, VLFLfaceAngles
Example Illustration
Syntax
[NL,AL]=VLFLfaceNormal(VL,FL,[fi,th])
Input Parameter
VL: | | Vertex list n x 3 |
FL: | | Facet list |
fi: | | optional value; facet index (list) |
th: | | |
Output Parameter
NL: | | Normal vector list |
AL: | | Area list; |
Examples
[VL,FL]=PLFLofCPLdelaunay(PLcircle(1)); VL=VLaddz(VL);
VLFLfaceNormal(VL,FL)
Copyright 2015-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