barytocartUVLdelaunay

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 4.1, Creation date: 2017-09-11, Last change: 2025-09-14

converts a 2d Barycentric [u,v] vertex list into a 3D Cartesian coordinate list [x, y, z]

Description

Same as barytocartUVL but uses mathlabs triangulation concept
Expecting all vertices in the plane of a triangle p1p2p3, the coordinates of the vertices can be formulated as p1 + u*(p2-p1) + v* (p3-p1). The Barycentric coordinates are [u v].
Both procedures can be used to solve 3D problems in 2D

barytocartUVL is unable to detect the distance to the plane!

See Also: carttobaryVL , barytocartUVL

Example Illustration

 missing image of barytocartUVLdelaunay(p1,p2,p3,UVL)

Syntax

VL=barytocartUVLdelaunay(p1,p2,p3,UVL)

Input Parameter

p1: Point 1 of the triangle
p2: Point 2 of the triangle
p3: Point 3 of the triangle
UVL: Barycentric vertex list, all points in plane

Output Parameter

VL: n x 3 list with [x y z]

Examples


barytocartUVLdelaunay([0 0 0],[ 0 10 10],[0 0 20],[0 0.5])




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