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