comparison +parametrization/old/shape_linesegments.m @ 820:501750fbbfdb

Merge with feature/grids
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 07 Sep 2018 14:40:58 +0200
parents 81e0ead29431
children
comparison
equal deleted inserted replaced
819:fdf0ef9150f4 820:501750fbbfdb
1 % Converts a shape into a cell array of linesegments shorter than h.
2 function l = shape_linesegments(s,h)
3 l = {};
4
5 for i = 1:length(s)
6 t = parametrization.curve_discretise(s{i},h);
7 l = [l, parametrization.curve_linesegments(s{i},t)];
8 end
9 end