PSanalyze
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.4, Creation date: 2018-12-30, Last change: 2025-09-14
classifies the polyshapes regions outer boundaries into equal shapes
Description
The polyshape is recursively separated into regions.
S.id = identifier
S.T = HT matrix
S.ps = polyshape region
S.cs = polyshape centerted at origin
S.bs = polyshape region outer boundary
See Also: BBofPS
, poseofPSanalyze
Example Illustration
Syntax
S=PSanalyze([ps])
Input Parameter
Output Parameter
S: | | struct containing each region |
Examples
SGfigure; load ('fourbar4Pose.mat'); cla; plot(ps); shg
PSanalyze; S=ans
SGfigure; hold on; for i=1:3; CPLplotasPS(PLtransR(CPLsample(34)+rand(1,2)*10,rot(randminv([-pi pi])))), end; PSanalyze
Copyright 2018-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