FLofVLPLofVLplaneprojection

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FL/Facet Lists
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-22, Last change: 2025-09-14

returns a FL for 2D could also be FLofVLELplanarDelaunay

Description

In contrast to a transformation relative to the normal vector of the plane, this function estimates the normal vector (VLeigenvect) based on the eigenvalues of the covariance matrix insteead of simply three vaertices. The smallest eigenvalue/eigenvector is then used to create a normal vector. This normal vector is used in combination with PLofVLplaneprojection to map the surface to 2D coordinates.
Fast version for large vertex lists

See Also: FLofDelaunay , FLofPLEL , VLFLofVLELdelaunay3D

Example Illustration

 missing image of FLofVLPLofVLplaneprojection(VL,EL)

Syntax

[FL,PL]=FLofVLPLofVLplaneprojection(VL,[EL])

Input Parameter

VL: Vertex List of a 2D Surface inb 3D Space
EL: Optional Edge list

Output Parameter

FL: Facet List
PL: Projection Point list; Not a real Transofmation

Examples


AVL=[0 0 0; 20 0 0; 20 0 10; 0 0 10]; BVL=VLtransR(AVL,rot(pi/10,pi/4,pi/9))
FLofVLPLofVLplaneprojection(BVL)
FLofVLPLofVLplaneprojection(BVL,[1 3])




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