PLFLofCPLdelaunay

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

Returns 2D point list and facet list of a triangulated contour

Description

For ONE closed contour given by a (polybool) contour list, this function generates a tessellation by using the DelaunayTri functions. Without adding the desired points, the function return a tesselation with minimal points.
Use CPLmeltbool to avoid new crossing points in the triangulation


See Also: FLofCPL , PLFLofCPLpoly , PLELofCPL , FLofPLEL , VLFLofCVLdelaunay2D , CPLmeltbool

Example Illustration

 missing image of PLFLofCPLdelaunay(CPL,ADDVL)

Syntax

[XPL,XFL]=PLFLofCPLdelaunay(CPL,[ADDVL])

Input Parameter

CPL: Contour point list (2D) of the enclosed surface
ADDVL: Vertex list of additional points to include

Output Parameter

XPL: Point List (2D) of the
XFL: Facet List of the enclosed surface

Examples

Two examples of retesselate an existing surface
PL=PLcircseg(10,[],-pi/6,pi)
UFL=FLofn(size(PL,1))
VLFLplot (PL,UFL)
CPL=CPLunitePLFL(PL,UFL); CPLplot(CPL,'m',4)
[VL,FL]=PLFLofCPLdelaunay(CPLunitePLFL(PL,UFL)); VLFLplot (VL,FL); % Minimal points used
PLFLofCPLdelaunay(CPLunitePLFL(VL,UFL),VL) % All points are used




Copyright 2014-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