16 #ifndef SCD_ELEMENT_DATA_HPP
17 #define SCD_ELEMENT_DATA_HPP
177 std::vector< EntityHandle >& connectivity )
const;
191 bool bb_input =
false,
197 const int* sequence_data_sizes,
198 const int* tag_data_sizes )
const;
285 : xform( tmp_xform ), invXform( tmp_xform.
inverse() ), srcSeq( this_seq )
296 if( ( *it ).minmax[0] <= coords && ( *it ).minmax[1] >= coords )
299 HomCoord local_coords = coords / ( *it ).xform;
301 assert( ( *it ).srcSeq->contains( local_coords ) );
304 return ( *it ).srcSeq->get_vertex( local_coords );
346 if( ( *vsit ).contains( minmax[0] ) || ( *vsit ).contains( minmax[1] ) )
return MB_FAILURE;
348 HomCoord tmp_min( std::min( minmax[0].i(), minmax[1].i() ), std::min( minmax[0].j(), minmax[1].j() ),
349 std::min( minmax[0].k(), minmax[1].k() ) );
350 HomCoord tmp_max( std::max( minmax[0].i(), minmax[1].i() ), std::max( minmax[0].j(), minmax[1].j() ),
351 std::max( minmax[0].k(), minmax[1].k() ) );
365 std::vector< EntityHandle >& connectivity )
const
372 connectivity.push_back(
get_vertex( i, j, k ) );
373 connectivity.push_back(
get_vertex( ip1, j, k ) );
375 connectivity.push_back(
get_vertex( ip1, jp1, k ) );
376 connectivity.push_back(
get_vertex( i, jp1, k ) );
378 connectivity.push_back(
get_vertex( i, j, k + 1 ) );
379 connectivity.push_back(
get_vertex( ip1, j, k + 1 ) );
380 connectivity.push_back(
get_vertex( ip1, jp1, k + 1 ) );
381 connectivity.push_back(
get_vertex( i, jp1, k + 1 ) );