cgma
Shell Class Reference

#include <Shell.hpp>

Inheritance diagram for Shell:
GroupingEntity TopologyEntity

List of all members.

Public Member Functions

 Shell ()
 Shell (ShellSM *OSMEPtr)
DagType dag_type () const
CoFaceget_co_face_ptr (RefFace *ref_face_ptr)
RefVolumeget_ref_volume_ptr ()
CubitBox bounding_box ()
ShellSMget_shell_sm_ptr () const
CubitBoolean is_sheet ()

Private Member Functions

 Shell (const Shell &)
void operator= (const Shell &)

Detailed Description

Definition at line 35 of file Shell.hpp.


Constructor & Destructor Documentation

Definition at line 57 of file Shell.cpp.

{
}
Shell::Shell ( ShellSM OSMEPtr)

Definition at line 71 of file Shell.cpp.

{
   bridge_manager()->add_bridge(OSMEPtr) ;
}
Shell::Shell ( const Shell ) [private]

Member Function Documentation

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.

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]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines