|
cgma
|
#include <FacetLoop.hpp>
Definition at line 33 of file FacetLoop.hpp.
| FacetLoop::FacetLoop | ( | Surface * | surf_ptr, |
| DLIList< CoEdgeSM * > & | coedge_list | ||
| ) |
Definition at line 40 of file FacetLoop.cpp.
| FacetLoop::FacetLoop | ( | DLIList< CoEdgeSM * > & | coedge_list | ) |
Definition at line 53 of file FacetLoop.cpp.
{
myCoEdges += coedge_list;
}
| FacetLoop::~FacetLoop | ( | ) | [virtual] |
Definition at line 64 of file FacetLoop.cpp.
{
}
| void FacetLoop::add_surface | ( | Surface * | new_surface_ptr | ) | [inline] |
Definition at line 115 of file FacetLoop.hpp.
{ mySurface = new_surface_ptr; }
| void FacetLoop::append_simple_attribute_virt | ( | const CubitSimpleAttrib & | ) | [virtual] |
Implements TopologyBridge.
Definition at line 98 of file FacetLoop.cpp.
{
//PRINT_ERROR("FacetLoop::append_simple_attribute_virt not defined\n");
return;
}
| CubitBox FacetLoop::bounding_box | ( | void | ) | const [virtual] |
Definition at line 158 of file FacetLoop.cpp.
{
CubitBox box;
//PRINT_ERROR("FacetLoop::bounding_box not implemented\n");
return box;
}
| void FacetLoop::disconnect_all_coedges | ( | ) |
Definition at line 288 of file FacetLoop.cpp.
{
myCoEdges.reset();
for (int i = myCoEdges.size(); i--; )
{
CoEdgeSM* sm_ptr = myCoEdges.get_and_step();
FacetCoEdge* coedge = dynamic_cast<FacetCoEdge*>(sm_ptr);
if (coedge)
{
assert(coedge->get_loop() == this);
coedge->remove_loop();
}
}
myCoEdges.clean_out();
}
| void FacetLoop::get_children_virt | ( | DLIList< TopologyBridge * > & | children | ) | [virtual] |
Implements TopologyBridge.
Definition at line 231 of file FacetLoop.cpp.
{ CAST_LIST_TO_PARENT( myCoEdges, children ); }
| void FacetLoop::get_coedges | ( | DLIList< FacetCoEdge * > & | coedges | ) |
Definition at line 256 of file FacetLoop.cpp.
| void FacetLoop::get_curves | ( | DLIList< FacetCurve * > & | curves | ) |
Definition at line 264 of file FacetLoop.cpp.
{
DLIList<FacetCoEdge*> coedge_list;
get_coedges( coedge_list );
coedge_list.reset();
for ( int i = coedge_list.size(); i--; )
{
FacetCoEdge* coedge = coedge_list.get_and_step();
FacetCurve* curve = dynamic_cast<FacetCurve*>(coedge->curve());
if (curve)
result_list.append_unique(curve);
}
}
| GeometryQueryEngine * FacetLoop::get_geometry_query_engine | ( | ) | const [virtual] |
Implements TopologyBridge.
Definition at line 171 of file FacetLoop.cpp.
{
return FacetQueryEngine::instance();
}
| void FacetLoop::get_lumps | ( | DLIList< FacetLump * > & | lumps | ) |
Definition at line 235 of file FacetLoop.cpp.
{
DLIList<FacetShell*> shell_list;
get_shells( shell_list );
shell_list.reset();
for ( int i = shell_list.size(); i--; )
{
FacetShell* shell = shell_list.get_and_step();
shell->get_lumps( result_list );
FacetLump* lump = dynamic_cast<FacetLump*>(shell->get_lump());
if (lump)
result_list.append_unique(lump);
}
}
| void FacetLoop::get_parents_virt | ( | DLIList< TopologyBridge * > & | parents | ) | [virtual] |
Implements TopologyBridge.
Definition at line 229 of file FacetLoop.cpp.
| void FacetLoop::get_shells | ( | DLIList< FacetShell * > & | shells | ) |
Definition at line 250 of file FacetLoop.cpp.
{
if ( FacetSurface* surf = dynamic_cast<FacetSurface*>(mySurface) )
surf->get_shells( result_list );
}
| CubitStatus FacetLoop::get_simple_attribute | ( | DLIList< CubitSimpleAttrib > & | ) | [virtual] |
Implements TopologyBridge.
Definition at line 142 of file FacetLoop.cpp.
{
//PRINT_ERROR("FacetLoop::get_simple_attribute not defined\n");
return CUBIT_FAILURE;
}
| CubitStatus FacetLoop::get_simple_attribute | ( | const CubitString & | name, |
| DLIList< CubitSimpleAttrib > & | |||
| ) | [virtual] |
| Surface* FacetLoop::get_surface | ( | ) | const [inline] |
Definition at line 121 of file FacetLoop.hpp.
{ return mySurface; }
| CubitBoolean FacetLoop::is_external | ( | ) | [virtual] |
Definition at line 78 of file FacetLoop.cpp.
{
PRINT_ERROR( "This command is not supported with this engine.\n");
return CUBIT_FAILURE;
}
| LoopType FacetLoop::loop_type | ( | ) | [virtual] |
| void FacetLoop::remove_all_simple_attribute_virt | ( | ) | [virtual] |
Implements TopologyBridge.
Definition at line 128 of file FacetLoop.cpp.
{
//PRINT_ERROR(" FacetLoop::remove_all_simple_attribute_virt not defined\n");
return;
}
| void FacetLoop::remove_simple_attribute_virt | ( | const CubitSimpleAttrib & | ) | [virtual] |
Implements TopologyBridge.
Definition at line 113 of file FacetLoop.cpp.
{
//PRINT_ERROR("FacetLoop::remove_simple_attribute_virt not defined\n");
return;
}
| void FacetLoop::remove_surface | ( | ) | [inline] |
Definition at line 123 of file FacetLoop.hpp.
{ mySurface = 0; }
| void FacetLoop::reverse | ( | ) | [inline] |
Definition at line 118 of file FacetLoop.hpp.
DLIList<CoEdgeSM*> FacetLoop::myCoEdges [private] |
Definition at line 131 of file FacetLoop.hpp.
Surface* FacetLoop::mySurface [private] |
Definition at line 130 of file FacetLoop.hpp.