TriRepofVLFL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 1.0, Creation date: 2012-12-27, Last change: 2025-09-14

returns a DelaunayTri representation of a solid

Description

Feature edges still have a problem, for helix type objects, because of the delaunay concept

Example Illustration

 missing image of TriRepofVLFL(VL,FL,dw)

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

Output Results

Algorithm Steps

  1. Initialize the feature angle dw to À/6. If a third argument is provided and is not empty, update dw with this value.
  2. Suppress specific warnings related to points not being in the triangulation using warning('off', 'MATLAB:triangulation:PtsNotInTriWarnId').
  3. Create a Delaunay triangulation object dt using the triangulation function with the facet list FL and the vertex coordinates from VL.
  4. Restore the previous warning state.
  5. 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