GPLparameters

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

Auxiliary fnct to calculate xmin ymin dx and dy from a given meshrid or VL

Description

xmin=min(x,[],1:3)
ymin=min(y,[],1:3)
dx=x(1,2)-x(1,1)
dy=y(2,1)-y(1,1)

Example Illustration

 missing image of GPLparameters(x,y,z)

Syntax

[orgp,delt,ux,uy,uz]=GPLparameters([x,y,z])

Input Parameter

x: GPL of x of meshgrid
y: empty or y of meshgrid
z: empty or y of meshgrid

Output Parameter

orgp: [minx miny minz]
delt: [dx dy dz]
ux: unique of x values usable for meshrid
uy: unique of y values usable for meshrid
uz: unique of z values usable for meshrid

Examples


GPL=GPLauxgridpointsCPS(PLsquare(30,10),1);
GPLparameters(GPL)




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