Syntax
[dt,fe]=TriRepofVLFL(VL,FL,[dw])
Input Parameter
VL : | | Vertex list |
FL : | | Facet list |
dw : | | Feature angle; default pi/6 |
Output Parameter
dt : | | DelaunayTri class object |
fe : | | Features edges, Optional |
Examples
VLFLplot (VL,FL,'m')
[~,EL]=TriRepofVLFL (VL,FL);
VLELplots (VL,EL,'k',1); show
Copyright 2012-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
Algorithm (Workflow)
This algorithm is designed to create a Delaunay triangulation representation of a solid using vertex and facet lists. It is part of the SG-Library and was developed by Tim Lueth. The algorithm also identifies feature edges based on a specified feature angle.
Input Parameters
- VL: Vertex list, a matrix where each row represents the coordinates of a vertex in 3D space.
- FL: Facet list, a matrix where each row represents a facet by specifying indices of vertices from the vertex list.
- dw: Feature angle, an optional parameter with a default value of À/6. It is used to determine feature edges.
Output Results
- dt: A DelaunayTri class object representing the triangulation of the solid.
- fe: Feature edges, an optional output that lists edges considered as features based on the feature angle.
Algorithm Steps
- Initialize the feature angle
dw
to À/6. If a third argument is provided and is not empty, update dw
with this value.
- Suppress specific warnings related to points not being in the triangulation using
warning('off', 'MATLAB:triangulation:PtsNotInTriWarnId')
.
- Create a Delaunay triangulation object
dt
using the triangulation
function with the facet list FL
and the vertex coordinates from VL
.
- Restore the previous warning state.
- If a second output is requested, calculate the feature edges
fe
using the featureEdges
method of the triangulation object dt
with the feature angle dw
.
Algorithm explaination created using ChatGPT on 2025-08-18 23:19. (Please note: No guarantee for the correctness of this explanation)
Last html export of this page out of FM database by TL: 2025-09-21