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
- C: This is the solid geometry container to which the new geometry will be added.
- VL: This is the vertex list of the solid geometry. It contains the coordinates of the vertices that define the shape.
- FL: This is the facet list of the solid geometry. It defines the connections between vertices to form the faces of the geometry.
Output Results
- SGC: This is the updated solid geometry container that now includes the new geometry defined by the vertex and facet lists.
Algorithm Steps
- 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.
- The function then calls another function,
SGCaddSG
, passing the solid geometry container SGC
and the newly created structure SG
as arguments.
- 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