PLFLofCPLpshape

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - VLFL/Surfaces
Introduced first in SolidGeometry 4.3, Creation date: 2018-10-26, Last change: 2025-09-14

returns a delaunay triangulation based on the 2018th concept of polyshape

Description

Since 2018, there is the new concept of polyshape and a new function for triangulation. This function has the same argument list as the former functions PLFLofCPLdelaunay (2014-Jan) and PLFLofCPLpoly (2014-Jan)


See Also: PLFLofCPLpoly , PLFLofCPLdelaunay

Example Illustration

 missing image of PLFLofCPLpshape(CPL)

Syntax

[PL,FL]=PLFLofCPLpshape(CPL)

Input Parameter

CPL: CPL with enclosed CPLs

Output Parameter

PL: Point list [n x 2]
FL: facet lis [n x 3]

Examples


PLFLofCPLpshape(CPLsample(3));




Copyright 2018-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 function, PLFLofCPLpshape, is designed to perform a Delaunay triangulation on a given input using the polyshape concept introduced in 2018. Below is a detailed explanation of the algorithm and its parameters.

Input Parameters

Output Results

Algorithm Steps

  1. Create a polyshape object ps from the input CPL.
  2. Check if the polyshape ps has vertices:
  3. If no output arguments are specified (nargout==0), plot the triangulation:

This function is part of the SolidGeometry library and was introduced in version 4.3. It is designed to work with the new polyshape concept for triangulation, providing a modern approach compared to older functions like PLFLofCPLdelaunay and PLFLofCPLpoly.

Algorithm explaination created using ChatGPT on 2025-08-19 00:00. (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