VLui

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

returns a vertex list drawn by the user in a plot window

Description

New points are set in red. Finally all are rounded to the given resolution and plotted in blue.
Since rel 4.5 it is also possible to
- insert points on lines
- deleting points on lines
- pull points on lines
- edit existing vertex list
- edit existing polyshapes

Left Mouse button => Set remove and shift points by
Right Mouse button => Shift at edges, Rotate at corners
Middle Mouse Button => exit

See Also: VLui , CPSlineui , CPLui , CPSui , PLui , PLsquareui , PLcircleui , VLFLui , SGui , CPLsplitui , Poseofimageui , Poseui

Example Illustration

 missing image of VLui(m,res,axcol,cplline,psdraw,linw,opl)

Syntax

[PL,h]=VLui([m,res,axcol,cplline,psdraw,linw,opl])

Input Parameter

m: number of points; default = inf | or existing VERTEX LIST [n x 3]
res: resolution; default = 0.1
axcol: axis [xmin xmax ymin ymax]; default=[-10 110 -10 110]
cplline: line drawing color; default is ''
psdraw: polyshape color; default is ''
linw: contour line width; default is 1
opl: closed lines: true==> CPL; false => PL;

Output Parameter

PL: Vertex list (z=0);
h: handle to delete the drawing afterwards;

Examples


SGfigure; VL=VLui(VL,[],'',true)
SGfigure; VL=VLui(VL,[],'',true)
SGfigure; VL=VLui(VL,[],'',true)




Copyright 2012-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

Last html export of this page out of FM database by TL: 2025-09-21