comparison +parametrization/old/shape_discretise.m @ 425:e56dbd9e4196 feature/grids

Merge feature/beams
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 07 Feb 2017 16:09:02 +0100
parents 81e0ead29431
children
comparison
equal deleted inserted replaced
423:a2cb0d4f4a02 425:e56dbd9e4196
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