VLFLcolcat2

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.4, Creation date: 2018-11-28, Last change: 2025-09-14

Same as VLFLcat2 but including colors

Description

used in SGcat2

See Also: SGcat2 , VLFLcat2

Example Illustration

 missing image of VLFLcolcat2(V1,F1,C1,V2,F2,C2)

Syntax

[VL,FL,FC]=VLFLcolcat2(V1,F1,C1,V2,F2,C2)

Input Parameter

V1: Vertex list 1
F1: Face list 1
C1: Face color list 1
V2: Vertex list 2
F2: Face list 2
C2: Face color list 3

Output Parameter

VL: Vertex list VL=[V1;V2];
FL: Face list FL=[F1;F2+size(V1,1)]
FC: Face colors FC=[C1;C2]




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, VLFLcolcat2, is designed to concatenate two sets of 3D surface data, including vertices, faces, and face colors. It is part of the SG-Library and was developed by Tim Lueth.

Input Parameters

Output Results

The function operates by simply concatenating the input lists, with a necessary adjustment to the face indices in F2 to account for the expanded vertex list. This ensures that the faces in the second set correctly reference the vertices in the combined list.

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