Home > General-Functions > SUGR > Line_2D > sugr_get_isfinite_Line_2D.m

sugr_get_isfinite_Line_2D

PURPOSE ^

% Test whether 2D line is finite

SYNOPSIS ^

function f = sugr_get_isfinite_Line_2D(l)

DESCRIPTION ^

% Test whether 2D line is finite

 f = sugr_get_isfinite_Line_2D(l)

 * l    = 2D line struct {l.h,l.Crr}
 * f    = boolean, true if l is finite, false otherwise

 Wolfgang Förstner 1/2011
 wfoerstn@uni-bonn.de 

 See also sugr_Line_2D

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Sat 21-Jul-2018 20:56:10 by m2html © 2005