TofVLFL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.8, Creation date: 2019-09-12, Last change: 2025-09-14

creates a T vector for surface

Description

In contrast to TofVL, this function uses the direction of a facet to define the ez-vector. The center points is still calculated using centerVL.
IN SG-LIB 5.0 we have to following concepts:
- (2010) - T3P: T - right hand system from 3 Point. Origin is p1
- (2012) - TofVL: T - Eigenvalues and Center of convexhull of VL
- (2015) - PLofVL: T - ex is the longest distance of mean(VL)
- (2016) - TofPez: T - ey has no x dimension or ex=[0 0 1]
- (2019) - TofVLFL:T - ez is calucated from the face normals, o=mean(VL)
- (2020) - VLeigenvect - same as TofVL but no convex hull and faster
- (2020) - TofCVL: T - ez is calucated from the edge normals, o=mean(VL)


See Also: TofVLFL , VLeigenvect , TofVL , Tof3P , TofPez , PLofVL , TofCVL , centerVL

Example Illustration

 missing image of TofVLFL(VL,FL,fi)

Syntax

[T,ez]=TofVLFL(VL,FL,[fi])

Input Parameter

VL: Vertex List
FL: Facet List
fi: optional facet index list

Output Parameter

T: HT Matrix of the surface
ez: ez vector of the surface

Examples


SG=SGservosample(1); FLofSGz(SG,'zmin'); FLi=find(ans);
TofVLFL(SG.VL,SG.FL,FLi)




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