VLFLcat2

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

appends without any check a vertex list after another and also a facet list

Description

For color support use VLFLcolcat2


See Also: VLFLcat , SGcat2 , VLFLshort , SGShort , VLFLcolcat2

Example Illustration

 missing image of VLFLcat2(V1,F1,V2,F2)

Syntax

[VL,FL]=VLFLcat2(V1,F1,V2,F2)

Input Parameter

V1: Vertex list 1
F1: Facet list 1
V2: Vertex list 2
F2: Facet list 2

Output Parameter

VL: concatenated vertex List
FL: concatenated facet List




Copyright 2010-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, VLFLcat2, is designed to concatenate two sets of vertex and facet lists. It is part of the SolidGeometry library and is used to append one vertex list and one facet list to another without performing any checks.

Input Parameters

Output Results

Algorithm Steps

  1. Check the size of V1 to determine if it is empty. If V1 is empty, the function returns V2 and F2 as the concatenated lists.
  2. Concatenate V1 and V2 vertically to form the new vertex list VL.
  3. Concatenate F1 and F2 vertically to form the new facet list FL. Adjust the indices in F2 by adding the number of vertices in V1 to each index, ensuring that the indices in F2 correctly reference the combined vertex list.
Algorithm explaination created using ChatGPT on 2025-08-18 23:01. (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