Changeset 1813
- Timestamp:
- 05/15/08 14:54:11 (22 months ago)
- Location:
- cgm/trunk/geom
- Files:
-
- 4 modified
-
Body.cpp (modified) (1 diff)
-
facet/FacetBody.hpp (modified) (1 diff)
-
virtual/CompositeBody.hpp (modified) (1 diff)
-
virtual/PartitionBody.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cgm/trunk/geom/Body.cpp
r1782 r1813 194 194 ref_volumes(volumes); 195 195 while (volumes.size()) 196 {197 196 if (!volumes.pop()->is_sheet()) 198 { 199 //OCC sheet body just has one face or shell, not like Acis 200 BodySM* bodysm = get_body_sm_ptr(); 201 if (bodysm == NULL) 202 { 203 PRINT_ERROR("Body %d is invalid -- no attached BodySM.\n", this->id()); 204 return CUBIT_FALSE; 205 } 206 return bodysm->is_sheet_body(); 207 } 208 } 197 return CUBIT_FALSE; 209 198 return CUBIT_TRUE; 210 199 } -
cgm/trunk/geom/facet/FacetBody.hpp
r1782 r1813 192 192 virtual CubitPointContainment point_containment( const CubitVector& pos ); 193 193 194 virtual CubitBoolean is_sheet_body(){return CUBIT_FALSE;}195 194 protected: 196 195 -
cgm/trunk/geom/virtual/CompositeBody.hpp
r1782 r1813 79 79 void combine( CompositeBody* other ); 80 80 81 CubitBoolean is_sheet_body(){return CUBIT_FALSE;}82 81 private: 83 82 -
cgm/trunk/geom/virtual/PartitionBody.hpp
r1782 r1813 101 101 102 102 void get_all_children( DLIList<PartitionEntity*>& list ); 103 104 virtual CubitBoolean is_sheet_body(){return CUBIT_FALSE;} 103 105 104 protected: 106 105
![(please configure the [header_logo] section in trac.ini)](/projects/ITAPS/chrome/common/trac_banner.png)