SGCaddVLFL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 1.1, Creation date: 2013-08-03, Last change: 2025-09-14

adds a solid geometry to a container

Description

Same as SGCaddSG(C,SG) , but supports VL and FL, may be obsolete

See Also: SGClayout , SGCpack , SGCaddSG

Example Illustration

 missing image of SGCaddVLFL(C,VL,FL)

Syntax

SGC=SGCaddVLFL(C,VL,FL)

Input Parameter

C: Solid geometry container
VL: Vertex list of solid geometry
FL: Facet list of solid geometry

Output Parameter

SGC: Solid geometry container




Copyright 2013-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, SGCaddVLFL, is designed to add a solid geometry to a container. It is part of the SG-Library and was created by Tim Lueth. The function is similar to SGCaddSG but specifically supports vertex lists (VL) and facet lists (FL).

Input Parameters

Output Results

Algorithm Steps

  1. The function begins by creating a structure SG with two fields: VL and FL. These fields are assigned the input parameters VL and FL, respectively.
  2. The function then calls another function, SGCaddSG, passing the solid geometry container SGC and the newly created structure SG as arguments.
  3. The result of the SGCaddSG function call is assigned back to SGC, effectively updating the container with the new solid geometry.

The function is straightforward and relies on the SGCaddSG function to handle the actual addition of the geometry to the container. The purpose of SGCaddVLFL is to provide a convenient interface for adding geometries defined by vertex and facet lists.

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