64 shandle + calc_num_entities( shandle, imax - imin, jmax - jmin, kmax - kmin, is_p ) - 1 )
67 assert( imax >= imin && jmax >= jmin && kmax >= kmin );
93 std::vector< VertexDataRef > minlist, maxlist;
101 bool mincorner =
true;
103 for( p = 0; p < 3; p++ )
107 for( std::vector< VertexDataRef >::const_iterator othervseq =
vertexSeqRefs.begin();
110 if( othervseq == vseq )
continue;
112 if( ( *othervseq ).contains( ( *vseq ).minmax[0] -
HomCoord::unitv[p] ) )
119 if( !mincorner )
break;
122 bool maxcorner =
true;
124 for( p = 0; p < 3; p++ )
128 for( std::vector< VertexDataRef >::const_iterator othervseq =
vertexSeqRefs.begin();
131 if( othervseq == vseq )
continue;
133 if( ( *othervseq ).contains( ( *vseq ).minmax[1] +
HomCoord::unitv[p] ) )
140 if( !maxcorner )
break;
144 if( mincorner ) minlist.push_back( *vseq );
146 if( maxcorner ) maxlist.push_back( *vseq );
152 if( minlist.size() == 1 && maxlist.size() == 1 && minlist[0].minmax[0] ==
boxParams[0] &&