Syntax
[CPL,T,ez]=CPLofFS(SG,fil)
Input Parameter
SG : | | Solid Geometry |
fil : | | facet index list; or ez vector; |
Output Parameter
CPL : | | CPL |
T : | | Transformation matrix for CVL ORIENTATION IS NOT CONSIDERED ! |
ez : | | ez vector used |
Examples
%% Hatchet Example for halloween
SGreadSTL('/Users/lueth/Desktop/HalloweenAxe.STL'); N=ans;
CPLofFS(N,FSselect(N,[0 0 -1])); % Using a fil list
CPLofFS(N,[0 0 -1]); % Using a ez vector;
CPLofFS(N); % Interactive mode
if size(varargin{2},2)==3; err=vecnormr(T(1:3,3)'-varargin{2}); else err=nan; end
if err>1; T=TflipR(T); e
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