cgma
|
#include <Shell.hpp>
Public Member Functions | |
Shell () | |
Shell (ShellSM *OSMEPtr) | |
DagType | dag_type () const |
CoFace * | get_co_face_ptr (RefFace *ref_face_ptr) |
RefVolume * | get_ref_volume_ptr () |
CubitBox | bounding_box () |
ShellSM * | get_shell_sm_ptr () const |
CubitBoolean | is_sheet () |
Private Member Functions | |
Shell (const Shell &) | |
void | operator= (const Shell &) |
Shell::Shell | ( | ) |
Shell::Shell | ( | ShellSM * | OSMEPtr | ) |
Definition at line 71 of file Shell.cpp.
{ bridge_manager()->add_bridge(OSMEPtr) ; }
Shell::Shell | ( | const Shell & | ) | [private] |
CubitBox Shell::bounding_box | ( | void | ) |
Definition at line 92 of file Shell.cpp.
{ CubitBox result; DLIList<RefFace*> face_list; ref_faces( face_list ); if( face_list.size() > 0 ) result = face_list.get_and_step()->bounding_box(); for( int i = face_list.size(); i > 1; i-- ) result |= face_list.get_and_step()->bounding_box(); return result; }
DagType Shell::dag_type | ( | ) | const [inline, virtual] |
Implements TopologyEntity.
Definition at line 45 of file Shell.hpp.
{ return DagType::shell_type(); }
CoFace* Shell::get_co_face_ptr | ( | RefFace * | ref_face_ptr | ) |
Definition at line 78 of file Shell.cpp.
{ return CAST_TO( get_basic_topology_entity_ptr(), RefVolume ); }
ShellSM * Shell::get_shell_sm_ptr | ( | ) | const |
Definition at line 113 of file Shell.cpp.
{ return dynamic_cast<ShellSM*>(bridge_manager()->topology_bridge()); }
Definition at line 127 of file Shell.cpp.
{ DLIList<RefFace*> faces; ref_faces(faces); while (faces.size()) if ( ! faces.pop()->is_nonmanifold(this) ) return CUBIT_FALSE; return CUBIT_TRUE; }
void Shell::operator= | ( | const Shell & | ) | [private] |