view +parametrization/old/shape_discretise.m @ 1249:1f82ad27616d feature/dirac_discr

Close branch feature/dirac_discr
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 20 Nov 2019 22:24:06 +0000
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