Research Article

Advanced Methods for Robot-Environment Interaction towards an Industrial Robot Aware of Its Volume

Algorithm 1

for each i
if ( )
  if ( ) return (DISJOINT);
   ;
else if ( )
  if ( ) return (DISJOINT);
   ;
if ( ) return(DISJOINT);
return(OVERLAP);