CPSlineui

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.7, Creation date: 2019-06-19, Last change: 2025-09-14

interactive fnct to create and modify CPS lines (Only one Contur)

Description

Left Mouse button => Set remove and shift points by
Right Mouse button => Shift at edges, Rotate at corners
Middle Mouse Button => exit
More or less: CPL=VLui(CPL,'','',col,'',linw);

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

Example Illustration

 missing image of CPSlineui(CPS,col,linw,edge,caps)

Syntax

CPS=CPSlineui([CPS,col,linw,edge,caps])

Input Parameter

CPS: Optional polyshape
col: Optional color; default is 'r'
linw: optional line width; default is 2
edge: true = round, false = corner; default is false
caps: true = round, false = corner; default is false

Output Parameter

CPS: Final CPS

Examples


cla;
CPSlineui('','b',2,true,true); CPSplot(ans,'r');
CPSlineui('','m',2,false,false); CPSplot(ans,'m');




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