model_server/ldr/src/ldrSmodShort.cxx
// Seeks for SmodRegion that includes smtTreePtr nd start.
//
//
Seeks for SmodRegion that includes smtTreePtr nd start.
Seeks for SmodRegion that includes smtTreePtr nd start .
steDisplayNodePtr ldrSmodShort::region_search( smtTreePtr nd ){
 Initialize(ldrSmodShort::region_search);
   if (nd == NULL || nd->get_id() < 0 || !nd->get_header()) 
      return NULL;
   int nd_start = nd->start();
   int nd_end   = nd_start + nd->length();
   steDisplayNodePtr root = checked_cast(steDisplayNode,get_root());
   steDisplayNodePtr dnd = tree_search( root, nd_start, nd_end );
   return dnd;
}
steDisplayNodePtr ldrSmodShort :: region_search ( smtTreePtr nd ) { Initialize ( ldrSmodShort :: region_search ) ; if ( nd == NULL || nd -> get_id ( ) < 0 || ! nd -> get_header ( ) ) return NULL ; int nd_start = nd -> start ( ) ; int nd_end = nd_start + nd -> length ( ) ; steDisplayNodePtr root = checked_cast ( steDisplayNode , get_root ( ) ) ; steDisplayNodePtr dnd = tree_search ( root , nd_start , nd_end ) ; return dnd ; }
Seeks for SmodRegion that includes smtTreePtr nd start.
Seeks for SmodRegion that includes smtTreePtr nd start .