cgma
|
00001 #include "CubitOctreeGenerator.hpp" 00002 #include "CubitOctree.hpp" 00003 #include "CubitOctreeConstants.hpp" 00004 00005 CubitOctreeGenerator::CubitOctreeGenerator( ){ 00006 } 00007 00008 CubitOctreeGenerator::~CubitOctreeGenerator(){ 00009 delete cubitOctree; 00010 } 00011 00012 void CubitOctreeGenerator::color_lattice_cell( void ){ 00013 cubitOctree->color_octreecell(); 00014 cubitOctree->set_status_octree_coloring(CUBIT_TRUE); 00015 } 00016 00017 double CubitOctreeGenerator::size_at_a_point( const CubitVector &point ) 00018 { 00019 double size = 0; 00020 00021 size = size_at_point_in_octree( point, MESH_SIZE ); 00022 00023 return size; 00024 } 00025 00026 double CubitOctreeGenerator::size_at_point_in_octree( const CubitVector &point, int type ){ 00027 return cubitOctree->size_at_a_point( point, type ); 00028 } 00029 00030 00031 CubitPointContainment CubitOctreeGenerator::point_containment( CubitVector tmp_vec, double tolerance ) 00032 { 00033 return cubitOctree->point_containment( tmp_vec, tolerance ); 00034 } 00035 00036 00037 // EOF 00038