cgma
PartitionCoSurf Class Reference

#include <PartitionCoSurf.hpp>

List of all members.

Public Member Functions

 PartitionCoSurf (CubitSense sense=CUBIT_FORWARD)
 ~PartitionCoSurf ()
PartitionSurfaceget_surface () const
PartitionShellget_shell () const
CubitSense sense () const
void sense (CubitSense set)
PartitionCoSurfnext_in_surface () const
PartitionCoSurfnext_in_shell () const

Public Attributes

short mark

Private Attributes

CubitSense mySense
PartitionSurfacemySurface
PartitionCoSurfsurfaceNext
PartitionShellmyShell
PartitionCoSurfshellNext

Friends

class PartitionSurface
class PartitionShell

Detailed Description

Definition at line 21 of file PartitionCoSurf.hpp.


Constructor & Destructor Documentation

Definition at line 54 of file PartitionCoSurf.hpp.

  : mark(0),
    mySense( sense ),
    mySurface(0),
    surfaceNext(0),
    myShell(0),
    shellNext(0)
  {}

Definition at line 5 of file PartitionCoSurf.cpp.

{
  if( myShell )
  {
    myShell->remove( this );
    myShell = 0;
  }
  if( mySurface )
  {
    mySurface->remove( this );
    mySurface = 0;
  }
  
  mySense = CUBIT_UNKNOWN;
  assert( !shellNext && !surfaceNext );
}

Member Function Documentation

Definition at line 66 of file PartitionCoSurf.hpp.

  { return myShell; }

Definition at line 63 of file PartitionCoSurf.hpp.

  { return mySurface; }
CubitSense PartitionCoSurf::sense ( ) const [inline]

Definition at line 69 of file PartitionCoSurf.hpp.

  { return mySense; }
void PartitionCoSurf::sense ( CubitSense  set) [inline]

Definition at line 72 of file PartitionCoSurf.hpp.

 { mySense = set; }

Friends And Related Function Documentation

friend class PartitionShell [friend]

Definition at line 25 of file PartitionCoSurf.hpp.

friend class PartitionSurface [friend]

Definition at line 24 of file PartitionCoSurf.hpp.


Member Data Documentation

Definition at line 41 of file PartitionCoSurf.hpp.

Definition at line 45 of file PartitionCoSurf.hpp.

Definition at line 50 of file PartitionCoSurf.hpp.

Definition at line 47 of file PartitionCoSurf.hpp.

Definition at line 51 of file PartitionCoSurf.hpp.

Definition at line 48 of file PartitionCoSurf.hpp.


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