Syntax
PL=matrixpath(M,[GL,AP,ST])
Input Parameter
M : | | Matrix as result of |
GL : | | Goal start tart search from |
AP : | | Attraction point; default is Matrix==0 |
ST : | | Style of Line "push', 'pull' , 'dist'; default is pull |
Output Parameter
PL : | | PLrc list from start to end |
Examples
matrixfillseedpoints(matrixdistanceofCPL(CPLsample(29),[100 100]),'8',[80 50]); M=ans; whos M
matrixpath(M,[30 20],'','push') % select farest point to straight line
matrixpath(M,[30 20],'','pull') % select nearest point to straight line
matrixpath(M,[30 20],'','dist') % select nearest point to goal
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
Last html export of this page out of FM database by TL: 2025-09-21