view pointIndex.m @ 773:edb1d60b0b77 feature/grids

Return line handles from show methods in Def and Ti
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 18 Jul 2018 15:26:15 -0700
parents bb079b39a7bb
children
line wrap: on
line source

% Get the index of the points p within the tall array of points ps
function [I, ok] = pointIndex(p, ps)
    [ok, I] = ismember(p,  ps, 'rows');
end