FLofCVLneigborpoints

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FL/Facet Lists
Introduced first in SolidGeometry 5.3, Creation date: 2023-08-04, Last change: 2025-09-15

cresting faces between threee suceeding points of a contour

Description

extracted from VLedgeNormal
FLofn
FLofVL => Obsolete Simple delaunay
FLofCVL => Closing a 3D Contour
FLofCVLneigborpoints

See Also: , FLofCVL

Example Illustration

 missing image of FLofCVLneigborpoints(CVL)

Syntax

FL=FLofCVLneigborpoints(CVL)

Input Parameter

CVL: 3D Point list

Output Parameter

FL: Facet list combining three neigborpoint [i-1 i i+1]

Examples


FLofCVL(PLcircle(1))
FLofCVLneigborpoints(PLcircle(1))




Copyright 2023-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, FLofCVLneigborpoints, is designed to create a list of facets from a given list of 3D points, referred to as CVL. The function is part of the SolidGeometry library and was introduced in version 5.3. It is used to close a 3D contour by connecting three successive points to form a facet.

Input Parameters

Output Results

Algorithm Steps

  1. Determine the number of points, n, in the CVL list using size(CVL,1).
  2. Create the facet list, FL, using the mod1 function to handle cyclic indexing. The mod1 function ensures that the indices wrap around, effectively closing the contour.
  3. The FL list is constructed by combining three successive points: [i-1, i, i+1], where i is the current index.
  4. If no output is requested (nargout==0), the function will plot the contour using SGfigure and VLFLplot with a green color ('g').

Example Usage

The function can be used with a circular point list generated by PLcircle(1) as shown in the example:

FLofCVL(PLcircle(1))
FLofCVLneigborpoints(PLcircle(1))

This will generate and optionally plot the facets of the circular contour.

Algorithm explaination created using ChatGPT on 2025-08-18 23:11. (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