Mercurial > repos > public > sbplib
comparison +parametrization/old/shape_linesegments.m @ 248:81e0ead29431 feature/beams
Fixed package names in +parametrization
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 05 Sep 2016 16:34:22 +0200 |
parents | 3a3cf386bb7e |
children |
comparison
equal
deleted
inserted
replaced
247:c2ca9717db4d | 248:81e0ead29431 |
---|---|
1 % Converts a shape into a cell array of linesegments shorter than h. | 1 % Converts a shape into a cell array of linesegments shorter than h. |
2 function l = shape_linesegments(s,h) | 2 function l = shape_linesegments(s,h) |
3 l = {}; | 3 l = {}; |
4 | 4 |
5 for i = 1:length(s) | 5 for i = 1:length(s) |
6 t = grid.curve_discretise(s{i},h); | 6 t = parametrization.curve_discretise(s{i},h); |
7 l = [l, grid.curve_linesegments(s{i},t)]; | 7 l = [l, parametrization.curve_linesegments(s{i},t)]; |
8 end | 8 end |
9 end | 9 end |