Home > General-Functions > SUGR > Point_2D > sugr_get_isfinite_Point_2D.m

sugr_get_isfinite_Point_2D

PURPOSE ^

% Test whether 2D point is finite

SYNOPSIS ^

function f = sugr_get_isfinite_Point_2D(x)

DESCRIPTION ^

% Test whether 2D point is finite

 f = sugr_get_isfinite_Point_2D(x)

 * x    = 2D 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_2D, sugr_get_isfinite_Line_2D, sugr_get_isfinite_Point_3D

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% Test whether 2D point is finite
0002 %
0003 % f = sugr_get_isfinite_Point_2D(x)
0004 %
0005 % * x    = 2D 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_2D, sugr_get_isfinite_Line_2D, sugr_get_isfinite_Point_3D
0012 
0013 function f = sugr_get_isfinite_Point_2D(x)
0014 
0015 global Threshold_Euclidean_Normalization
0016 
0017 f   =  abs(x.h(3)) > ...
0018                 Threshold_Euclidean_Normalization * norm(x.h(1:2));
0019

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