viewVLinspect

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 4.9, Creation date: 2020-02-04, Last change: 2025-09-14

inspects one by one points of the vertex list



See Also: camset

Example Illustration

 missing image of viewVLinspect (VL,vi)

Syntax

viewVLinspect(VL,[vi])

Input Parameter

VL: Vertex list
vi: optional index list to VL

Examples


SGbox; A=ans; viewVLinspect(A.VL,5:8)




Copyright 2020-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, viewVLinspect, is designed to inspect points in a vertex list (VL) one by one. It is part of the SolidGeometry library and was introduced in version 4.9. The function is primarily used for user interface purposes.

Input Parameters

Algorithm Steps

  1. Determine the number of vertices, n, in the vertex list VL using size(VL,1).
  2. Store the current axis limits in bb using axis.
  3. Use getfuncparams to determine the indices of vertices to inspect, defaulting to all vertices if vi is not provided.
  4. Plot the specified vertices using VLplot with red asterisks ('r*').
  5. Call zoomVL to adjust the view to the specified vertices.
  6. Calculate the scale factor s using sofgca.
  7. Create a circle in the plane using PLcircle and convert it to a closed polyline CPL using CPLofPL.
  8. Iterate over each vertex index in vi:
  9. After the loop, delete the initial plot of vertices using delete(h1).
Algorithm explaination created using ChatGPT on 2025-08-18 23:29. (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