58 :
SequenceData( 0, shandle, shandle + calc_num_entities( shandle, imax - imin, jmax - jmin, kmax - kmin ) - 1 )
61 assert( imax >= imin && jmax >= jmin && kmax >= kmin );
84 std::vector< VertexDataRef > minlist, maxlist;
92 bool mincorner =
true;
94 for( p = 0; p < 3; p++ )
98 for( std::vector< VertexDataRef >::const_iterator othervseq =
vertexSeqRefs.begin();
101 if( othervseq == vseq )
continue;
103 if( ( *othervseq ).contains( ( *vseq ).minmax[0] -
HomCoord::unitv[p] ) )
110 if( !mincorner )
break;
113 bool maxcorner =
true;
115 for( p = 0; p < 3; p++ )
119 for( std::vector< VertexDataRef >::const_iterator othervseq =
vertexSeqRefs.begin();
122 if( othervseq == vseq )
continue;
124 if( ( *othervseq ).contains( ( *vseq ).minmax[1] +
HomCoord::unitv[p] ) )
131 if( !maxcorner )
break;
135 if( mincorner ) minlist.push_back( *vseq );
137 if( maxcorner ) maxlist.push_back( *vseq );
143 if( minlist.size() == 1 && maxlist.size() == 1 && minlist[0].minmax[0] ==
elementParams[0] &&