Mercurial > repos > public > sbplib
comparison +parametrization/old/shape_discretise.m @ 427:a613960a157b feature/quantumTriangles
merged with feature/beams
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Thu, 26 Jan 2017 15:59:25 +0100 |
parents | 81e0ead29431 |
children |
comparison
equal
deleted
inserted
replaced
426:29944ea7674b | 427:a613960a157b |
---|---|
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 |