CPLrackPLdelaunaypath
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.1, Creation date: 2022-01-26, Last change: 2025-09-15
same as CPLrackPLdelaunaypath, but allow forbidded areas
Description
ART DECO STYLE
used to define rack structures
Uses delaunay and not VLnearestNeighborN to avoid small angles
Uses PLshortestpathinCPL to implement the path planning for obstacle avoidance
See Also: CPLextendbyPL
, CPLrack4PL
, CPLrackPLdelaunay
, PLshortestpathinCPL
Example Illustration
Syntax
CPL=CPLrackPLdelaunaypath([PL,b,CPLW,CPLG])
Input Parameter
PL: | | Point list |
b: | | buffer size around PL |
CPLW: | | Forbidded Area; ; default is empty |
CPLG: | | No cost area; predefined rack area; default is empty |
Output Parameter
Examples
CPLrackPLdelaunaypath(PLtriangle*500,10,PLcircle(30)+[110 20]);
CPLrackPLdelaunaypath(PLtriangle*500,10,PLcircle(30)+50);
CPLrackPLdelaunaypath(PLtriangle*500,10,CPLunion(PLcircle(30)+[110 20],PLcircle(30)+50));
PL=60*rand(4,2); CPLrackPLdelaunaypath(PL,2); % just repeat the call
PL=100*rand(10,2)-50; CPLrackPLdelaunaypath('',2,PLsquare(20,10),PLsquare(10,40)+[-18 0]);
PL=100*rand(10,2)-50; CPLrackPLdelaunaypath('',2,PLcircle(10,ceil(2+rand*10)),PLsquare(10,40)+[-18 0]); % just repeat the call
Copyright 2022-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