% Test whether 3D point is finite f = sugr_get_isfinite_Point_3D(x) * x = 3D point struct {x.h,x.Crr} * f = boolean, true if x is finite, false otherwise Wolfgang Förstner 1/2011 wfoerstn@uni-bonn.de See also sugr_Point_3D
0001 %% Test whether 3D point is finite 0002 % 0003 % f = sugr_get_isfinite_Point_3D(x) 0004 % 0005 % * x = 3D point struct {x.h,x.Crr} 0006 % * f = boolean, true if x is finite, false otherwise 0007 % 0008 % Wolfgang Förstner 1/2011 0009 % wfoerstn@uni-bonn.de 0010 % 0011 % See also sugr_Point_3D 0012 0013 function f = sugr_get_isfinite_Point_3D(x) 0014 0015 global Threshold_Euclidean_Normalization 0016 0017 f = abs(x.h(4)) > ... 0018 Threshold_Euclidean_Normalization * norm(x.h(1:3)); 0019