16 #ifndef SWEPT_ELEMENT_DATA_HPP
17 #define SWEPT_ELEMENT_DATA_HPP
152 std::vector< EntityHandle >& connectivity )
const;
166 bool bb_input =
false,
172 const int* sequence_data_sizes,
173 const int* tag_data_sizes )
const;
241 : xform( tmp_xform ), invXform( tmp_xform.
inverse() ), srcSeq( this_seq )
252 if( ( *it ).minmax[0] <= coords && ( *it ).minmax[1] >= coords )
255 HomCoord local_coords = coords / ( *it ).xform;
258 return ( *it ).srcSeq->get_vertex( local_coords );
300 if( ( *vsit ).contains( minmax[0] ) || ( *vsit ).contains( minmax[1] ) )
return MB_FAILURE;
302 HomCoord tmp_min( std::min( minmax[0].i(), minmax[1].i() ), std::min( minmax[0].j(), minmax[1].j() ),
303 std::min( minmax[0].k(), minmax[1].k() ) );
304 HomCoord tmp_max( std::max( minmax[0].i(), minmax[1].i() ), std::max( minmax[0].j(), minmax[1].j() ),
305 std::max( minmax[0].k(), minmax[1].k() ) );
319 std::vector< EntityHandle >& connectivity )
const
323 connectivity.push_back(
get_vertex( i, j, k ) );
324 connectivity.push_back(
get_vertex( i + 1, j, k ) );
326 connectivity.push_back(
get_vertex( i + 1, j + 1, k ) );
327 connectivity.push_back(
get_vertex( i, j + 1, k ) );
329 connectivity.push_back(
get_vertex( i, j, k + 1 ) );
330 connectivity.push_back(
get_vertex( i + 1, j, k + 1 ) );
331 connectivity.push_back(
get_vertex( i + 1, j + 1, k + 1 ) );
332 connectivity.push_back(
get_vertex( i, j + 1, k + 1 ) );