VLpathdist

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.1, Creation date: 2021-04-01, Last change: 2025-09-15

distance between two points on a CVP PAth

Description

to speed up calc VLD before

See Also: VLdistance , mod1circsequ

Example Illustration

 missing image of VLpathdist(VLD,i,k)

Syntax

lll=VLpathdist(VLD,i,k)

Input Parameter

VLD: VLdistance(CVL) or CVL
i: start index
k: end index; if more than 1 index, the shortes forward and the shortest backward is selected

Output Parameter

lll: forward distance-backward-distance overall-length]; two rows in numel(k)>1

Examples


VLpathdist (CPLsample(20),20,50)
CLD=VLdistance(CPLsample(3)), VLpathdist (CLD,2,8), % graphics output uses a circle
VLpathdist(CPLsample(3),2,8)
VLpathdist (CPLsample(40),20,[45 5])




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