Mercurial > repos > public > sbplib
comparison +parametrization/old/shape_discretise.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 % Discretises a shape such that points on the curves are no further than h appart. | 1 % Discretises a shape such that points on the curves are no further than h appart. |
2 function p = shape_discretise(s,h) | 2 function p = shape_discretise(s,h) |
3 p = []; | 3 p = []; |
4 for i = 1:length(s) | 4 for i = 1:length(s) |
5 [~,pt] = grid.curve_discretise(s{i},h); | 5 [~,pt] = parametrization.curve_discretise(s{i},h); |
6 p = [p, pt]; | 6 p = [p, pt]; |
7 end | 7 end |
8 end | 8 end |