Changeset 1813

Show
Ignore:
Timestamp:
05/15/08 14:54:11 (22 months ago)
Author:
kraftche
Message:

Back out most of revsion 1782 (April 28, 2008):

  • breaks is_sheet_body() and related functions for all geometry engines except OCC (virtual, facet, etc.)
  • breaks build of ACIS engine
  • might make Body::is_sheet_body() work for OCC, but is an incomplete solution because Shell::is_sheet(), BTE::is_nonmanifold(), etc. are still broken for OCC
  • if OCC correctly returns relative sense between Surfaces and ShellSMs, then no change to RefEntity?-level code is necessary
Location:
cgm/trunk/geom
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • cgm/trunk/geom/Body.cpp

    r1782 r1813  
    194194  ref_volumes(volumes); 
    195195  while (volumes.size()) 
    196   { 
    197196    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; 
    209198  return CUBIT_TRUE; 
    210199} 
  • cgm/trunk/geom/facet/FacetBody.hpp

    r1782 r1813  
    192192  virtual CubitPointContainment point_containment( const CubitVector& pos ); 
    193193 
    194   virtual CubitBoolean is_sheet_body(){return CUBIT_FALSE;} 
    195194protected:  
    196195   
  • cgm/trunk/geom/virtual/CompositeBody.hpp

    r1782 r1813  
    7979    void combine( CompositeBody* other ); 
    8080     
    81     CubitBoolean is_sheet_body(){return CUBIT_FALSE;} 
    8281  private: 
    8382   
  • cgm/trunk/geom/virtual/PartitionBody.hpp

    r1782 r1813  
    101101     
    102102    void get_all_children( DLIList<PartitionEntity*>& list ); 
    103    
    104     virtual CubitBoolean is_sheet_body(){return CUBIT_FALSE;} 
     103 
    105104  protected: 
    106105