Mercurial > repos > public > sbplib
view +parametrization/old/shape_discretise.m @ 506:2047ff9640b3 feature/quantumTriangles
tried to make a symmetric scheme
| author | Ylva Rydin <ylva.rydin@telia.com> |
|---|---|
| date | Mon, 29 May 2017 13:54:16 +0200 |
| parents | 81e0ead29431 |
| children |
line wrap: on
line source
% Discretises a shape such that points on the curves are no further than h appart. function p = shape_discretise(s,h) p = []; for i = 1:length(s) [~,pt] = parametrization.curve_discretise(s{i},h); p = [p, pt]; end end
