cgma
|
#include <CompositeCoSurf.hpp>
Public Member Functions | |
CompositeCoSurf (CubitSense sense=CUBIT_FORWARD) | |
~CompositeCoSurf () | |
CompositeSurface * | get_surface () const |
CompositeShell * | get_shell () const |
CubitSense | sense () const |
void | sense (CubitSense set) |
CompositeCoSurf * | next_in_surface () const |
CompositeCoSurf * | next_in_shell () const |
void | print_debug_info (const char *line_prefix=0, bool brief=false) |
Private Attributes | |
CubitSense | mySense |
CompositeSurface * | mySurface |
CompositeCoSurf * | surfaceNext |
CompositeShell * | myShell |
CompositeCoSurf * | shellNext |
Friends | |
class | CompositeSurface |
class | CompositeShell |
Definition at line 21 of file CompositeCoSurf.hpp.
CompositeCoSurf::CompositeCoSurf | ( | CubitSense | sense = CUBIT_FORWARD | ) | [inline] |
Definition at line 54 of file CompositeCoSurf.hpp.
Definition at line 6 of file CompositeCoSurf.cpp.
CompositeShell * CompositeCoSurf::get_shell | ( | ) | const [inline] |
Definition at line 65 of file CompositeCoSurf.hpp.
{ return myShell; }
CompositeSurface * CompositeCoSurf::get_surface | ( | ) | const [inline] |
Definition at line 62 of file CompositeCoSurf.hpp.
{ return mySurface; }
CompositeCoSurf * CompositeCoSurf::next_in_shell | ( | ) | const [inline] |
Definition at line 71 of file CompositeCoSurf.hpp.
{ return shellNext; }
CompositeCoSurf * CompositeCoSurf::next_in_surface | ( | ) | const [inline] |
Definition at line 68 of file CompositeCoSurf.hpp.
{ return surfaceNext; }
void CompositeCoSurf::print_debug_info | ( | const char * | line_prefix = 0 , |
bool | brief = false |
||
) |
Definition at line 32 of file CompositeCoSurf.cpp.
{ if( prefix == 0 ) prefix = ""; const char* sense = mySense == CUBIT_FORWARD ? "Forward" : mySense == CUBIT_REVERSED ? "Reverse" : "UNKNOWN"; PRINT_INFO("%sCompCoSurf %p %s ", prefix, (void*)this, sense ); if( !mySurface ) PRINT_INFO("NULL SURFACE\n"); else if( brief ) PRINT_INFO("surface %p\n", (void*)mySurface ); else { PRINT_INFO("\n "); mySurface->print_debug_info(prefix, true); } }
CubitSense CompositeCoSurf::sense | ( | ) | const [inline] |
Definition at line 74 of file CompositeCoSurf.hpp.
{ return mySense; }
void CompositeCoSurf::sense | ( | CubitSense | set | ) | [inline] |
Definition at line 77 of file CompositeCoSurf.hpp.
{ mySense = set; }
friend class CompositeShell [friend] |
Definition at line 25 of file CompositeCoSurf.hpp.
friend class CompositeSurface [friend] |
Definition at line 24 of file CompositeCoSurf.hpp.
CubitSense CompositeCoSurf::mySense [private] |
Definition at line 45 of file CompositeCoSurf.hpp.
CompositeShell* CompositeCoSurf::myShell [private] |
Definition at line 50 of file CompositeCoSurf.hpp.
CompositeSurface* CompositeCoSurf::mySurface [private] |
Definition at line 47 of file CompositeCoSurf.hpp.
CompositeCoSurf* CompositeCoSurf::shellNext [private] |
Definition at line 51 of file CompositeCoSurf.hpp.
CompositeCoSurf* CompositeCoSurf::surfaceNext [private] |
Definition at line 48 of file CompositeCoSurf.hpp.